From d13a119d268875229217db0eec4768389a3d7a05 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 27 Jun 2012 15:26:50 -0400 Subject: [PATCH] Set VUFIND_LOCAL_DIR for unit testing. --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 9f63ade5217..483d3e2ce91 100644 --- a/build.xml +++ b/build.xml @@ -40,7 +40,7 @@ <exec command="phpcs --standard=PEAR --extensions=php --report=checkstyle ${srcdir}/module/VuFind/src > ${builddir}/reports/checkstyle.xml" escape="false" /> <!-- PHPUnit --> - <exec dir="${srcdir}/tests" command="phpunit -dzend.enable_gc=0 --log-junit ${builddir}/reports/phpunit.xml --coverage-clover ${builddir}/reports/coverage/clover.xml --coverage-html ${builddir}/reports/coverage/" outputProperty="PHPUNITOUTPUT" /> + <exec dir="${srcdir}/tests" command="VUFIND_LOCAL_DIR=${srcdir}/local phpunit -dzend.enable_gc=0 --log-junit ${builddir}/reports/phpunit.xml --coverage-clover ${builddir}/reports/coverage/clover.xml --coverage-html ${builddir}/reports/coverage/" outputProperty="PHPUNITOUTPUT" /> <echo message="${PHPUNITOUTPUT}" /> </target> -- GitLab