[ticket/584] Check for file instead of directory
B3P-584
This commit is contained in:
@@ -92,7 +92,7 @@
|
|||||||
|
|
||||||
<target name="test" depends="clean,composer,prepare-tests">
|
<target name="test" depends="clean,composer,prepare-tests">
|
||||||
<if>
|
<if>
|
||||||
<available property="phpunit-available" file="phpbb/phpBB/vendor/bin/phpunit" type="dir" />
|
<available property="phpunit-available" file="phpbb/phpBB/vendor/bin/phpunit" type="file" />
|
||||||
<then>
|
<then>
|
||||||
<exec dir="${phpbb-root}"
|
<exec dir="${phpbb-root}"
|
||||||
command="phpBB/vendor/bin/phpunit
|
command="phpBB/vendor/bin/phpunit
|
||||||
@@ -116,7 +116,7 @@
|
|||||||
|
|
||||||
<target name="test-slow" depends="clean,composer">
|
<target name="test-slow" depends="clean,composer">
|
||||||
<if>
|
<if>
|
||||||
<available property="phpunit-available" file="phpbb/phpBB/vendor/bin/phpunit" type="dir" />
|
<available property="phpunit-available" file="phpbb/phpBB/vendor/bin/phpunit" type="file" />
|
||||||
<then>
|
<then>
|
||||||
<exec dir="${phpbb-root}"
|
<exec dir="${phpbb-root}"
|
||||||
command="phpBB/vendor/bin/phpunit
|
command="phpBB/vendor/bin/phpunit
|
||||||
|
|||||||
Reference in New Issue
Block a user