cvs: php4 / run-tests.php

From: Date: Mon, 21 Oct 2002 08:55:50 +0000
Subject: cvs: php4 / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15094@lists.php.net to get a copy of this message
derick Mon Oct 21 04:55:50 2002 EDT Modified files: /php4 run-tests.php Log: - Stijl polizei Index: php4/run-tests.php diff -u php4/run-tests.php:1.75 php4/run-tests.php:1.76 --- php4/run-tests.php:1.75 Mon Oct 21 04:52:45 2002 +++ php4/run-tests.php Mon Oct 21 04:55:49 2002 @@ -436,8 +436,9 @@ 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 @@ 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'; }

« previous php.cvs (#15094) next »