diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-01-04 11:15:55 +0100 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-01-04 11:16:00 +0100 |
commit | e3a035ba6ae5202482d9512d69d74d945e3fdf13 (patch) | |
tree | 40d9aaad281648b771f8081e527d84aa82a6c049 /bindings | |
parent | 9bfd555cda5aa82243d3f4f2034c9df608380319 (diff) | |
download | lasso-e3a035ba6ae5202482d9512d69d74d945e3fdf13.tar.gz lasso-e3a035ba6ae5202482d9512d69d74d945e3fdf13.tar.xz lasso-e3a035ba6ae5202482d9512d69d74d945e3fdf13.zip |
[bindings php5] remove hardcoding the php5 cli interpreter
The test script did fail under Centos/Fedora because the interpreter for
php5 is named php.
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/php5/tests/Makefile.am | 2 | ||||
-rwxr-xr-x | bindings/php5/tests/binding_tests.sh | 2 | ||||
-rwxr-xr-x | bindings/php5/tests/profile_tests.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bindings/php5/tests/Makefile.am b/bindings/php5/tests/Makefile.am index b2d8549e..bb20cf01 100644 --- a/bindings/php5/tests/Makefile.am +++ b/bindings/php5/tests/Makefile.am @@ -1,6 +1,6 @@ MAINTAINERCLEANFILES = Makefile.in if PHP5_ENABLED -TESTS_ENVIRONMENT=env "SRCDIR=$(srcdir)/" +TESTS_ENVIRONMENT=env "SRCDIR=$(srcdir)/" "PHP5=$(PHP5)" TESTS = profile_tests.sh binding_tests.sh endif diff --git a/bindings/php5/tests/binding_tests.sh b/bindings/php5/tests/binding_tests.sh index 3bfad5d6..0971ab2b 100755 --- a/bindings/php5/tests/binding_tests.sh +++ b/bindings/php5/tests/binding_tests.sh @@ -1,3 +1,3 @@ #!/bin/sh -php5 -n -d extension_dir=../.libs -d extension=lasso.so ${SRCDIR}binding_tests.php +${PHP5:?PHP5 variable is not defined} -n -d extension_dir=../.libs -d extension=lasso.so ${SRCDIR}binding_tests.php diff --git a/bindings/php5/tests/profile_tests.sh b/bindings/php5/tests/profile_tests.sh index 08a53fac..f7298079 100755 --- a/bindings/php5/tests/profile_tests.sh +++ b/bindings/php5/tests/profile_tests.sh @@ -1,3 +1,3 @@ #!/bin/sh -php5 -n -d extension_dir=../.libs -d extension=lasso.so ${SRCDIR}profile_tests.php +${PHP5:?PHP5 variable is not defined} -n -d extension_dir=../.libs -d extension=lasso.so ${SRCDIR}profile_tests.php |