com php-src: Fix broken Junit output with --disable-cgi: run-tests.php
| From: | Matteo Beccati | Date: | Sat, 24 May 2014 22:10:00 +0000 |
| Subject: | com php-src: Fix broken Junit output with --disable-cgi: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78520@lists.php.net to get a copy of this message | ||
Commit: 5d7f82745f46025af4fd89f7e3f3883e92d55509
Author: Matteo Beccati <mbeccati@php.net> Sun, 25 May 2014 00:07:52 +0200
Parents: 00e69ba16404751728c22dbc03be8fb4bfbfbf91
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5d7f82745f46025af4fd89f7e3f3883e92d55509
Log:
Fix broken Junit output with --disable-cgi
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index f4e1599..6c220e7 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -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';
}