Procházet zdrojové kódy

Write test logs to an xml file

bel2125 před 9 roky
rodič
revize
62a66c43e5
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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);