forked from semsol/arc2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
22 lines (17 loc) · 704 Bytes
/
build.xml
File metadata and controls
22 lines (17 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<project default="run-tests" name="arc2" basedir=".">
<property environment="env" />
<property name="tests-dir" location="${basedir}/tests"/>
<property name="coverage-dir" location="${tests-dir}/coverage"/>
<target name="run-tests" depends="run-unit-tests, run-functional-tests"/>
<target name="run-unit-tests">
<exec dir="${tests-dir}/unit" executable="phpunit" failonerror="true">
<arg line="--coverage-html ${coverage-dir} --filter Test ." />
</exec>
</target>
<target name="run-functional-tests">
<exec dir="${tests-dir}/functional" executable="phpunit" failonerror="true">
<arg line="--filter Test ." />
</exec>
</target>
</project>