aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-08-07 21:28:35 -0400
committerNils Adermann <naderman@naderman.de>2011-08-07 21:28:35 -0400
commit32e15315a8097ef4fc9b84d07f75d3ddece4ba8b (patch)
tree0d84bf78a957195145fb6f25872c55bcff4b3a1d /build
parentabc0c336af4ace1f836cce107fcb307fa32e182c (diff)
downloadforums-32e15315a8097ef4fc9b84d07f75d3ddece4ba8b.tar
forums-32e15315a8097ef4fc9b84d07f75d3ddece4ba8b.tar.gz
forums-32e15315a8097ef4fc9b84d07f75d3ddece4ba8b.tar.bz2
forums-32e15315a8097ef4fc9b84d07f75d3ddece4ba8b.tar.xz
forums-32e15315a8097ef4fc9b84d07f75d3ddece4ba8b.zip
[ticket/10313] Create a separate build task for slow tests.
PHPBB3-10313
Diffstat (limited to 'build')
-rw-r--r--build/build.xml22
1 files changed, 9 insertions, 13 deletions
diff --git a/build/build.xml b/build/build.xml
index b59b8f65cc..7cfb5d0bf8 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -46,23 +46,19 @@
<target name="test" depends="clean,prepare">
<exec dir="."
command="phpunit --log-junit build/logs/phpunit.xml
- --configuration phpunit.xml.all
--coverage-clover build/logs/clover.xml
--coverage-html build/coverage"
passthru="true" />
+ </target>
-
- <!-- Does not allow changing the working directory to tests/
- so this approach does not work for us unfortunately
- <phpunit codecoverage="true" haltonfailure="true">
- <formatter todir="build/logs" type="xml"/>
- <batchtest>
- <fileset dir="tests">
- <include name="all_tests.php"/>
- </fileset>
- </batchtest>
- </phpunit>
- -->
+ <target name="test-slow" depends="clean,prepare">
+ <exec dir="."
+ command="phpunit --log-junit build/logs/phpunit.xml
+ --configuration phpunit.xml.all
+ --group slow
+ --coverage-clover build/logs/clover-slow.xml
+ --coverage-html build/coverage-slow"
+ passthru="true" />
</target>
<target name="docs">