cvs: php4 / run-tests.php
| From: | Marcus Boerger | Date: | Thu, 21 Nov 2002 15:09:46 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16496@lists.php.net to get a copy of this message | ||
helly Thu Nov 21 10:09:46 2002 EDT
Modified files:
/php4 run-tests.php
Log:
Force showing the question
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.127 php4/run-tests.php:1.128
--- php4/run-tests.php:1.127 Thu Nov 21 09:56:06 2002
+++ php4/run-tests.php Thu Nov 21 10:09:45 2002
@@ -190,7 +190,7 @@
$exts_skipped = 0;
$ignored_by_ext = 0;
sort($exts_to_test);
-$test_dirs = array('tests', 'pear', 'ext');
+$test_dirs = array('tests');//, 'pear', 'ext');
foreach ($test_dirs as $dir) {
find_files("{$cwd}/{$dir}", ($dir == 'ext'));
@@ -323,6 +323,7 @@
$fp = fopen("php://stdin", "r+");
echo "Some tests have failed, would you like to send the\nreport to PHP's QA
team\n";
echo "(choose \"s\" to just save the results to a file)? [Yns]: ";
+ flush();
$user_input = fgets($fp, 10);
$just_save_results = (strtolower($user_input[0]) == 's');