]> granicus.if.org Git - php/commitdiff
[0.05]
authorDerick Rethans <derick@php.net>
Wed, 23 Oct 2002 20:13:42 +0000 (20:13 +0000)
committerDerick Rethans <derick@php.net>
Wed, 23 Oct 2002 20:13:42 +0000 (20:13 +0000)
- Disable html_errors in info sent

run-tests.php

index d29b147bbdc9881d029260d9d1bd64139259595e..7868566fbbb56159952e5220086baaf7e9d82326 100755 (executable)
@@ -249,7 +249,7 @@ define('PHP_QA_EMAIL', 'php-qa@lists.php.net');
 define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php');
 
 /* We got failed Tests, offer the user to send and e-mail to QA team */
-if ($sum_results['FAILED']) {
+if ($sum_results['FAILED'] && !getenv("DONT_ASK_QA")) {
        $fp = fopen("php://stdin", "r+");
        fwrite($fp, "Some tests have failed, would you like to send the\nreport to PHP's QA team? [Yn]: ");
        fflush($fp);
@@ -281,7 +281,7 @@ if ($sum_results['FAILED']) {
                }
                
                $failed_tests_data .= $sep . "PHPINFO" . $sep;
-               $failed_tests_data .= shell_exec($php.' -i');
+               $failed_tests_data .= shell_exec($php.' -dhtml_errors=0 -i');
                
                $compression = 0;