1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/10313] Create a separate build task for slow tests.
This commit is contained in:
Nils Adermann 2011-08-07 21:34:46 -04:00
commit 55e4dfd3bd

View File

@ -46,23 +46,19 @@
<target name="test" depends="clean,prepare"> <target name="test" depends="clean,prepare">
<exec dir="." <exec dir="."
command="phpunit --log-junit build/logs/phpunit.xml command="phpunit --log-junit build/logs/phpunit.xml
--configuration phpunit.xml.all
--coverage-clover build/logs/clover.xml --coverage-clover build/logs/clover.xml
--coverage-html build/coverage" --coverage-html build/coverage"
passthru="true" /> passthru="true" />
</target>
<target name="test-slow" depends="clean,prepare">
<!-- Does not allow changing the working directory to tests/ <exec dir="."
so this approach does not work for us unfortunately command="phpunit --log-junit build/logs/phpunit.xml
<phpunit codecoverage="true" haltonfailure="true"> --configuration phpunit.xml.all
<formatter todir="build/logs" type="xml"/> --group slow
<batchtest> --coverage-clover build/logs/clover-slow.xml
<fileset dir="tests"> --coverage-html build/coverage-slow"
<include name="all_tests.php"/> passthru="true" />
</fileset>
</batchtest>
</phpunit>
-->
</target> </target>
<target name="docs"> <target name="docs">