[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:
Benjamin Dauvergne 2011-01-04 11:15:55 +01:00
parent 9bfd555cda
commit e3a035ba6a
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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