summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-05-26 11:33:38 +0000
committerAntony Dovgal <tony2001@php.net>2008-05-26 11:33:38 +0000
commita591b8bdc85eaaf4c17e374e9dec7d9f65763e03 (patch)
treeca0ba733b9cac5f428f143aba8db8ce454cc1634 /run-tests.php
parent0cf47e6f1183c74eedee3f947a963cfda00b0bf0 (diff)
downloadphp-git-a591b8bdc85eaaf4c17e374e9dec7d9f65763e03.tar.gz
fix typo
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 da9f83b9ef..c6bd7bf958 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -981,7 +981,7 @@ function run_all_tests($test_files, $env, $redir_tested = NULL)
if (!is_array($name) && $result != 'REDIR')
{
$test_results[$index] = $result;
- if ($failed_tests_file && ($result = 'XFAILED' || $result == 'FAILED' || $result == 'WARNED' || $result == 'LEAKED'))
+ if ($failed_tests_file && ($result == 'XFAILED' || $result == 'FAILED' || $result == 'WARNED' || $result == 'LEAKED'))
{
fwrite($failed_tests_file, "$index\n");
}