cvs: php-testfest-web /scripts/testfestsource/src testfesthourlytest.php
| From: | Zoe Slattery | Date: | Mon, 25 May 2009 11:12:18 +0000 |
| Subject: | cvs: php-testfest-web /scripts/testfestsource/src testfesthourlytest.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4864@lists.php.net to get a copy of this message | ||
zoe Mon May 25 11:12:18 2009 UTC
Modified files:
/php-testfest-web/scripts/testfestsource/src testfesthourlytest.php
Log:
hack to get around ldap failure to clean up on PHP6
http://cvs.php.net/viewvc.cgi/php-testfest-web/scripts/testfestsource/src/testfesthourlytest.php?r1=1.3&r2=1.4&diff_format=u
Index: php-testfest-web/scripts/testfestsource/src/testfesthourlytest.php
diff -u php-testfest-web/scripts/testfestsource/src/testfesthourlytest.php:1.3
php-testfest-web/scripts/testfestsource/src/testfesthourlytest.php:1.4
--- php-testfest-web/scripts/testfestsource/src/testfesthourlytest.php:1.3 Mon May 18 16:10:59 2009
+++ php-testfest-web/scripts/testfestsource/src/testfesthourlytest.php Mon May 25 11:12:18 2009
@@ -62,6 +62,11 @@
$run_tests = $phpBuildDir."/".$dir."/run-tests.php";
$phpExecutable = $phpBuildDir."/".$dir."/sapi/cli/php";
echo "$phpExecutable -n $run_tests -n -p $phpExecutable $testDir\n";
+ // The php 6 run doesn't clean up properly for LDAP. So run the 5.3 tests once to clean up
before running properly
+ if($dir == 'php5.3') {
+ shell_exec("$phpExecutable -n $run_tests -n -p $phpExecutable
$testDir/ext/ldap/tests");
+ }
+
$results = shell_exec("$phpExecutable -n $run_tests -n -p $phpExecutable $testDir");
file_put_contents($testDir."/results", $results);
}