[bindings php5] remove hardcoding the php5 cli interpreter
The test script did fail under Centos/Fedora because the interpreter for php5 is named php.
This commit is contained in:
parent
9bfd555cda
commit
e3a035ba6a
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue