summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpdocumentor-reflection-docblock.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/php-phpdocumentor-reflection-docblock.spec b/php-phpdocumentor-reflection-docblock.spec
index 3bac834..bb0fd70 100644
--- a/php-phpdocumentor-reflection-docblock.spec
+++ b/php-phpdocumentor-reflection-docblock.spec
@@ -137,9 +137,8 @@ BOOTSTRAP
RETURN_CODE=0
for PHP_EXEC in php php56 php70 php71; do
if which $PHP_EXEC; then
- $PHP_EXEC \
+ $PHP_EXEC -d auto_prepend_file=$PWD/bootstrap.php \
%{_bindir}/phpunit --verbose \
- --include-path %{buildroot}%{_datadir}/php \
--bootstrap bootstrap.php \
|| RETURN_CODE=1
fi