summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2019-06-05 19:27:50 +0200
committerJoe Watkins <krakjoe@php.net>2019-06-05 19:27:50 +0200
commitbed8ae1d0f7fbd441d91a0676096957ea1b40722 (patch)
tree3b182de7fea58ad41f43c1d9a91ea63b71830a96 /run-tests.php
parent6f9a06cb74421306dc0158b28fa5b4bbb262fd9d (diff)
downloadphp-git-bed8ae1d0f7fbd441d91a0676096957ea1b40722.tar.gz
junit testcase classname is used as filename on azure
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 6810c77865..be4eb1d155 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -3437,7 +3437,7 @@ function junit_mark_test_as($type, $file_name, $test_name, $time = null, $messag
$escaped_message = htmlspecialchars($message, ENT_QUOTES, 'UTF-8');
$escaped_test_name = htmlspecialchars($test_name, ENT_QUOTES);
- $JUNIT['files'][$file_name]['xml'] = "<testcase classname='" . $suite . "." . basename($file_name) . "' name='$escaped_test_name' time='$time'>\n";
+ $JUNIT['files'][$file_name]['xml'] = "<testcase classname='$file_name' name='$escaped_test_name' time='$time'>\n";
if (is_array($type)) {
$output_type = $type[0] . 'ED';