From 61522fbb0764c305d52bb3e8cb2a8caeae434133 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Sep 2012 07:39:05 +0200 Subject: php-pecl-apc: more patch, run full test suite --- apc-svn.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'apc-svn.patch') diff --git a/apc-svn.patch b/apc-svn.patch index b293ddc..b1955f3 100644 --- a/apc-svn.patch +++ b/apc-svn.patch @@ -177,3 +177,32 @@ ["value"]=> string(%d) "%s" ["num_hits"]=> +--- pecl/apc/trunk/tests/apc54_020.phpt 2012/09/04 00:04:46 327452 ++++ pecl/apc/trunk/tests/apc54_020.phpt 2012/09/04 05:30:31 327453 +@@ -3,8 +3,8 @@ + --SKIPIF-- + STDERR, + ); + +- $ext = (substr(PHP_OS, 0, 3) == 'WIN') ? 'php_apc.dll' : 'apc.so'; +- $php_args = "-d extension_dir=$doc_root/../modules -d extension=$ext"; ++ $php_args = getenv('TEST_PHP_ARGS'); ++ if (empty($php_args)) { ++ $ext = (substr(PHP_OS, 0, 3) == 'WIN') ? 'php_apc.dll' : 'apc.so'; ++ $php_args = "-d extension_dir=$doc_root/../modules -d extension=$ext"; ++ } + if ($php_opts) { + $php_args = "$php_args -d " . implode(' -d ', $php_opts);; + } -- cgit