summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvalmat <ufabiz@gmail.com>2014-04-01 01:25:01 +0600
committervalmat <ufabiz@gmail.com>2014-04-01 01:25:01 +0600
commitde42543170dd911d878387db5efd2c9c4b399047 (patch)
tree82f6cd274df9c65a5f72309a1140348ed00007ea /tests
parentb135af43c136dc2ec79da61be9b234ce00c96775 (diff)
Changed the way to use the option -t in ./test.sh
Now you can specify several options -t, listing the files one by one: ./test.sh -t "file1.phpt" -t "file2.phpt" The old way (./test.sh -t "file1.phpt file2.phpt") is still working
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test.sh b/tests/test.sh
index 9c264a9..df0e949 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -102,7 +102,7 @@ do
exit;
;;
t)
- TEST_FILES="$OPTARG"
+ TEST_FILES="${TEST_FILES}${OPTARG} "
;;
x)
SCR_OPT="$SCR_OPT -x"
@@ -160,7 +160,6 @@ if [ 1 = $COMPILE_EXT ]; then
ln -s "$LIBRARY_PATH/phpcpp.h" $PHPCPP_H
fi
# local copy of /usr/include/phpcpp:
- #if [ -L $PHPCPP_INC ] || [ -d $PHPCPP_INC ];
if [ -a $PHPCPP_INC ];
then
rm -rf $PHPCPP_INC