|
31 | 31 | depends="prepare,static-analysis,phpunit,phpdox,-check-failure" |
32 | 32 | description="Performs static analysis, runs the tests, and generates project documentation"/> |
33 | 33 |
|
| 34 | +<target name="full-build-large-scale" |
| 35 | + depends="prepare,static-analysis,phpunit-large-scale,phpdox,-check-failure" |
| 36 | + description="Performs static analysis, runs the tests (including large scale tests), and generates project documentation"/> |
| 37 | + |
34 | 38 | <target name="full-build-parallel" |
35 | 39 | depends="prepare,static-analysis-parallel,phpunit,phpdox,-check-failure" |
36 | 40 | description="Performs static analysis (executing the tools in parallel), runs the tests, and generates project documentation"/> |
|
229 | 233 | unless="phpunit.done" |
230 | 234 | depends="prepare" |
231 | 235 | description="Run unit tests with PHPUnit"> |
| 236 | + <exec executable="${phpunit}" resultproperty="result.phpunit" taskname="phpunit"> |
| 237 | + <arg value="--configuration"/> |
| 238 | + <arg path="${basedir}/phpunit.xml.dist"/> |
| 239 | + <arg value="--exclude-group=large-scale"/> |
| 240 | + </exec> |
| 241 | + |
| 242 | + <property name="phpunit.done" value="true"/> |
| 243 | + </target> |
| 244 | + |
| 245 | + <target name="phpunit-large-scale" |
| 246 | + unless="phpunit.done" |
| 247 | + depends="prepare" |
| 248 | + description="Run unit tests with PHPUnit, including the large-scale tests"> |
232 | 249 | <exec executable="${phpunit}" resultproperty="result.phpunit" taskname="phpunit"> |
233 | 250 | <arg value="--configuration"/> |
234 | 251 | <arg path="${basedir}/phpunit.xml.dist"/> |
|
244 | 261 | <exec executable="${phpunit}" failonerror="true" taskname="phpunit"> |
245 | 262 | <arg value="--configuration"/> |
246 | 263 | <arg path="${basedir}/phpunit.xml.dist"/> |
| 264 | + <arg value="--exclude-group=large-scale"/> |
247 | 265 | <arg value="--no-coverage"/> |
248 | 266 | </exec> |
249 | 267 |
|
|
257 | 275 | <exec executable="${phpunit}" resultproperty="result-ft.phpunit" taskname="phpunit"> |
258 | 276 | <arg value="--configuration"/> |
259 | 277 | <arg path="${basedir}/phpunit.functional.xml.dist"/> |
| 278 | + <arg value="--exclude-group=large-scale"/> |
260 | 279 | </exec> |
261 | 280 |
|
262 | 281 | <property name="phpunit-ft.done" value="true"/> |
|
0 commit comments