Commit b4ada69a authored by Pekka Pessi's avatar Pekka Pessi

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

darcs-hash:20071213141534-65a35-2ea98ce27d1faaf2820943b60a3f7473fc8d1623.gz
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