More changes to build file

skala
Yannick Warnier 13 years ago
parent b59cf71e9a
commit c1bc14ec81
  1. 5
      tests/build.xml
  2. 2
      tests/run.sh

@ -2,10 +2,10 @@
<project name="Chamilo LMS" default="build">
<target name="build"
depends="prepare,lint,pdepend,phpmd-ci,phpcs-ci,phpdoc,phpcb"/>
depends="prepare,lint,pdepend,phpmd-ci,phpcs-ci,simpletest,phpdoc"/>
<target name="build-parallel"
depends="prepare,lint,tools-parallel,phpcb"/>
depends="prepare,lint,tools-parallel,simpletest"/>
<target name="tools-parallel" description="Run tools in parallel">
<parallel threadCount="2">
@ -14,6 +14,7 @@
<antcall target="phpmd-ci"/>
</sequential>
<antcall target="phpcs-ci"/>
<antcall target="simpletest"/>
<antcall target="phpdoc"/>
</parallel>
</target>

@ -1,3 +1,3 @@
#!/bin/bash
php5 test_suite.php > logs/results.xml
xsltproc simpletest_to_junit.xsl logs/results.xml > logs/results-1.xml
xsltproc simpletest_to_junit.xsl logs/results.xml > logs/junit.xml

Loading…
Cancel
Save