summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-10-21 08:55:49 +0000
committerDerick Rethans <derick@php.net>2002-10-21 08:55:49 +0000
commit8e9f83add23b1a64a460e590f659023e010b8f5c (patch)
tree05d361c38e78bc27767415c869e02113959cea7c /run-tests.php
parentb4b26c2f9b3c9a3f2adfb496c13af4e1d4fc9be6 (diff)
downloadphp-git-8e9f83add23b1a64a460e590f659023e010b8f5c.tar.gz
- Stijl polizei
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/run-tests.php b/run-tests.php
index ac599bc7c5..9b43f72811 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -436,8 +436,9 @@ TEST $file
if (ereg("^skip", trim($output))){
echo "SKIP $tested\n";
$reason = (ereg("^skip\s*(.+)$", trim($output))) ? ereg_replace("^skip\s*(.+)$", "\\1", trim($output)) : FALSE;
- if($reason)
- print "\treason: $reason\n";
+ if ($reason) {
+ echo "\treason: $reason\n";
+ }
return 'SKIPPED';
}
}
@@ -539,7 +540,7 @@ COMMAND $cmd
print(str_repeat('=', 80) . "\n");
var_dump($output);
*/
- if (preg_match("/^$wanted_re$/s", $output)) {
+ if (preg_match("/^$wanted_re\$/s", $output)) {
echo "PASS $tested\n";
return 'PASSED';
}