summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php
index 909a8ea9b7..5adfcd2991 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -3504,6 +3504,8 @@ function junit_path_to_classname($file_name)
{
global $JUNIT;
+ if (!junit_enabled()) return '';
+
$ret = $JUNIT['name'];
$_tmp = array();