summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-04-23 11:19:15 +0000
committerAntony Dovgal <tony2001@php.net>2007-04-23 11:19:15 +0000
commitea7f23b053c7eebe2c3c31e943e546c5c61a6ebc (patch)
tree0c0d6350e8f710b7082cdc94d88cd00d6af85888
parenta10cd19d050f0e9e62486cdde897cb8d313614fd (diff)
downloadphp-git-ea7f23b053c7eebe2c3c31e943e546c5c61a6ebc.tar.gz
MFH
-rwxr-xr-xrun-tests.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 22528c0823..762338e3cc 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -648,7 +648,10 @@ define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php');
/* We got failed Tests, offer the user to send an e-mail to QA team, unless NO_INTERACTION is set */
if (!getenv('NO_INTERACTION')) {
$fp = fopen("php://stdin", "r+");
- echo "\nYou may have found a problem in PHP.\nWe would like to send this report automatically to the\n";
+ if ($sum_results['FAILED'] || $sum_results['BORKED'] || $sum_results['WARNED'] || $sum_results['LEAKED']) {
+ echo "\nYou may have found a problem in PHP.";
+ }
+ echo "\nWe would like to send this report automatically to the\n";
echo "PHP QA team, to give us a better understanding of how\nthe test cases are doing. If you don't want to send it\n";
echo "immediately, you can choose \"s\" to save the report to\na file that you can send us later.\n";
echo "Do you want to send this report now? [Yns]: ";