Explorar el Código

Write test logs to an xml file

bel2125 hace 9 años
padre
commit
62a66c43e5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      test/main.c

+ 2 - 1
test/main.c

@@ -80,7 +80,8 @@ main(const int argc, char *argv[])
 	srunner_add_suite(srunner, make_private_exe_suite());
 
 	/* Write test logs to a file */
-	srunner_set_log(sr, "test.log");
+	srunner_set_log(srunner, "test.log");
+	srunner_set_xml(srunner, "test.xml");
 
 	/* CK_NORMAL offers not enough diagnosis during setup phase*/
 	srunner_run(srunner, suite, test_case, CK_VERBOSE);