]> granicus.if.org Git - php/commitdiff
Fix broken Junit output with --disable-cgi
authorMatteo Beccati <mbeccati@php.net>
Sat, 24 May 2014 22:07:52 +0000 (00:07 +0200)
committerMatteo Beccati <mbeccati@php.net>
Sat, 24 May 2014 22:10:00 +0000 (00:10 +0200)
run-tests.php

index f4e1599c53d86d002b798f19b514e9c12fa2a3a9..6c220e7ac70270d710b632f00352b151b95adac3 100755 (executable)
@@ -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';
                        }