cvs: qaweb / buildtest-process.php

From: Date: Tue, 17 Dec 2002 18:58:00 +0000
Subject: cvs: qaweb / buildtest-process.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-7321@lists.php.net to get a copy of this message
derick Tue Dec 17 13:58:00 2002 EDT Modified files: /qaweb buildtest-process.php Log: - Report failed and successful tests in subject Index: qaweb/buildtest-process.php diff -u qaweb/buildtest-process.php:1.6 qaweb/buildtest-process.php:1.7 --- qaweb/buildtest-process.php:1.6 Mon Dec 16 17:50:30 2002 +++ qaweb/buildtest-process.php Tue Dec 17 13:58:00 2002 @@ -3,7 +3,21 @@ if (strlen($_POST['php_test_data']) > 90000) { die("can't handle input that large."); } - mail ("php-qa@lists.php.net", "Test results", base64_decode(urldecode($_POST['php_test_data'])), "From: noreply@php.net"); + if (isset($_GET['status'])) { + switch($_GET['status']) { + case 'failed': + $status = "failed"; + break; + case 'success': + $status = "success"; + break; + default: + $status = "unknown"; + } + } else { + $status = "unknown"; + } + mail ("php-qa@lists.php.net", "Test results [$status]", base64_decode(urldecode($_POST['php_test_data'])), "From: noreply@php.net"); } ?> -$Revision: 1.6 $ +$Revision: 1.7 $

« previous php.qa (#7321) next »