diff options
author | Noel Darlow <mail@mcgruff.plus.com> | 2012-07-02 01:26:30 +0100 |
---|---|---|
committer | Noel Darlow <mail@mcgruff.plus.com> | 2012-07-02 01:26:30 +0100 |
commit | 5b54caac764dd2e608ad111f819871dd2818a277 (patch) | |
tree | 1e5c4dd3b2b4c952675847394aa2ce81262ee29a /dev-lang/php/files/eblits/src_test-v1.eblit | |
parent | 3 (diff) | |
download | underlay-5b54caac764dd2e608ad111f819871dd2818a277.tar.gz underlay-5b54caac764dd2e608ad111f819871dd2818a277.tar.bz2 underlay-5b54caac764dd2e608ad111f819871dd2818a277.zip |
still trying..
Diffstat (limited to 'dev-lang/php/files/eblits/src_test-v1.eblit')
-rw-r--r-- | dev-lang/php/files/eblits/src_test-v1.eblit | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dev-lang/php/files/eblits/src_test-v1.eblit b/dev-lang/php/files/eblits/src_test-v1.eblit index 07f8d6f..5196c87 100644 --- a/dev-lang/php/files/eblits/src_test-v1.eblit +++ b/dev-lang/php/files/eblits/src_test-v1.eblit @@ -1,24 +1,24 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit,v 1.3 2012/02/06 13:53:17 olemarkus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit,v 1.1 2010/05/27 23:05:04 mabi Exp $ eblit-php-src_test() { vecho ">>> Test phase [test]: ${CATEGORY}/${PF}" - PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php" - if [[ ! -x "${PHP_BIN}" ]] ; then + + if [[ ! -x "${S}/sapi/cli/php" ]] ; then ewarn "Test phase requires USE=cli, skipping" return else - export TEST_PHP_EXECUTABLE="${PHP_BIN}" + export TEST_PHP_EXECUTABLE="${S}/sapi/cli/php" fi - if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then - export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi" + if [[ -x "${S}/sapi/cgi/php-cgi" ]] ; then + export TEST_PHP_CGI_EXECUTABLE="${S}/sapi/cgi/php-cgi" fi REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \ - "${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}" + "${S}/run-tests.php" -n -q -d "session.save_path=${T}" for name in ${EXPECTED_TEST_FAILURES}; do mv "${name}.out" "${name}.out.orig" 2>/dev/null |