com php-src: Fix broken Junit output with --disable-cgi: run-tests.php
| From: | Matteo Beccati | Date: | Sat, 24 May 2014 22:07:52 +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-78518@lists.php.net to get a copy of this message | ||
Commit: f9357b44f3d0871ca737650201366a32118bc3d6
Author: Matteo Beccati <mbeccati@php.net> Sun, 25 May 2014 00:07:52 +0200
Parents: 319611ffbd21f003755b679a90ffbdccbecab769
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f9357b44f3d0871ca737650201366a32118bc3d6
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 9a5e276..e11271c 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1349,6 +1349,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';
}