Changeset 563cbee in git


Ignore:
Timestamp:
2013-09-23T06:55:44Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
f703531
Parents:
eb93629
Message:

disable ext subdir testing unless env TEST_EXT is set

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1390 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • run-xcachetest

    rbe2e034 r563cbee  
    2222TEST_PHP_EXECUTABLE="$php_cli"
    2323TEST_PHP_CGI_EXECUTABLE="$php_cgi"
    24 test -z "$TEST_PHP_SRCDIR" && TEST_PHP_SRCDIR=`getAbsolutePath ./php-src`
     24real_php_src=`getAbsolutePath ./php-src`;
     25test -z "$TEST_PHP_SRCDIR" && TEST_PHP_SRCDIR=$real_php_src
    2526
    2627export TEST_PHP_EXECUTABLE
     
    3334echo "TEST_PHP_SRCDIR:         $TEST_PHP_SRCDIR"
    3435
    35 run_tests_php=$TEST_PHP_SRCDIR/run-tests.php
    36 exec "$php_cli" -d "open_basedir=" -d "safe_mode=0" -d "output_buffering=0" -d "memory_limit=-1" $run_tests_php "$@"
     36run_tests_src=$real_php_src/run-tests.php
     37if test -z "$TEST_EXT" ; then
     38    sed "s#'ext',##g" < "$run_tests_src" > run-tests.php
     39else
     40    cp "$run_tests_src" run-tests.php
     41fi
     42exec "$php_cli" -d "open_basedir=" -d "safe_mode=0" -d "output_buffering=0" -d "memory_limit=-1" `getAbsolutePath ./run-tests.php` "$@"
Note: See TracChangeset for help on using the changeset viewer.