svn: /pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/ build.phpt
| From: | Brett Bieber | Date: | Mon, 02 Nov 2009 03:20:06 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/ build.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9011@lists.php.net to get a copy of this message | ||
saltybeagle Mon, 02 Nov 2009 03:20:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290137
Log:
Set PATH for pecl build test. Still copies .so to the default extension_dir, but builds
successfully.
Changed paths:
U pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt
Modified: pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt 2009-11-01 23:05:07 UTC (rev 290136)
+++ pear2/Pyrus/trunk/tests/ScriptFrontend/Commands/build.phpt 2009-11-02 03:20:06 UTC (rev 290137)
@@ -6,9 +6,12 @@
die('skip requires unix to work');
}
?>
+--ENV--
+return <<<END
+PATH=/usr/local/bin:/usr/bin:/bin
+END;
--FILE--
<?php
-var_dump(getenv('PATH'));
require __DIR__ . '/setup.php.inc';
if (file_exists(__DIR__ . DIRECTORY_SEPARATOR . 'testit')) {
$dir = __DIR__ . '/testit';