mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
Phing > tests > do not verify if the "tests" directory exists
This commit is contained in:
@@ -91,7 +91,6 @@ dir.reports.coverage = ${dir.reports}/phpunit_coverage
|
|||||||
# Data directories
|
# Data directories
|
||||||
# --------------------------------------------------------------------------------
|
# --------------------------------------------------------------------------------
|
||||||
|
|
||||||
dir.data.tests = ${dir.data}/tests
|
|
||||||
dir.data.temporary = ${dir.data}/tmp
|
dir.data.temporary = ${dir.data}/tmp
|
||||||
|
|
||||||
# --------------------------------------------------------------------------------
|
# --------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -213,14 +213,6 @@
|
|||||||
|
|
||||||
<!-- Unit tests -->
|
<!-- Unit tests -->
|
||||||
<target name="test:phpunit" description="Executes PHPUnit tests">
|
<target name="test:phpunit" description="Executes PHPUnit tests">
|
||||||
<if>
|
|
||||||
<not>
|
|
||||||
<available file="${dir.data.tests}" type="dir" property="dir.data.tests.available" />
|
|
||||||
</not>
|
|
||||||
<then>
|
|
||||||
<mkdir dir="${dir.data.tests}" />
|
|
||||||
</then>
|
|
||||||
</if>
|
|
||||||
<echo msg="Running unit tests..." />
|
<echo msg="Running unit tests..." />
|
||||||
<exec command="${phpUnit.path} --verbose --no-coverage --configuration ${project.basedir}/phpunit.xml.dist"
|
<exec command="${phpUnit.path} --verbose --no-coverage --configuration ${project.basedir}/phpunit.xml.dist"
|
||||||
passthru="true"/>
|
passthru="true"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user