Fix broken Junit output with --disable-cgi

This commit is contained in:
Matteo Beccati 2014-05-25 00:07:52 +02:00
parent 00e69ba164
commit 5d7f82745f

View File

@ -1356,6 +1356,7 @@ TEST $file
} else {
show_result('SKIP', $tested, $tested_file, "reason: CGI not available");
junit_init_suite(junit_get_suitename_for($shortname));
junit_mark_test_as('SKIP', $shortname, $tested, 0, 'CGI not available');
return 'SKIPPED';
}