mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00:00
[ticket/10313] Create a separate build task for slow tests.
PHPBB3-10313
This commit is contained in:
parent
abc0c336af
commit
32e15315a8
1 changed files with 9 additions and 13 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue