Commit b4ada69a authored by Pekka Pessi's avatar Pekka Pessi
Browse files

check_sofia.c: pass xml result file as optional parameter to check_sofia

parent a02f4c08
......@@ -51,7 +51,9 @@ int main(int argc, char *argv[])
suite = suite_for_nua();
runner = srunner_create(suite);
srunner_set_xml(runner, "/tmp/result.xml");
if (argv[1]) {
srunner_set_xml(runner, argv[1]);
srunner_run_all(runner, CK_NORMAL);
failed = srunner_ntests_failed(runner);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment