Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Chan <jefftchan@gmail.com>2014-03-14 03:27:15 +0400
committerJeff Chan <jefftchan@gmail.com>2014-03-14 05:10:15 +0400
commit0bfb660ad56eb48ebaf7129d6bd9f1741f96a384 (patch)
tree4efec0db2b3a3e72bed754d82734244d0d09e44d /build.xml
parentad931a1c05ae9436d7edb72cc88ab9942c8f81e3 (diff)
Add HHVM-specific phpunit configuration
- Up the timeout - No selenium testing - No coverage Also update Travis and build.xml to support it Signed-off-by: Jeff Chan <jefftchan@gmail.com>
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index f53e7a0b75..1d1df8a94c 100644
--- a/build.xml
+++ b/build.xml
@@ -5,6 +5,8 @@
<property name="source_comma_sep" value="."/>
<property environment="env"/>
<property name="env.PHPUNIT_XML" value="phpunit.xml.dist"/>
+ <property name="env.PHPUNIT_XML_NOCOVERAGE" value="phpunit.xml.nocoverage"/>
+ <property name="env.PHPUNIT_XML_HHVM" value="phpunit.xml.hhvm"/>
<property name="env.PHPUNIT_ARGS" value=""/>
<target name="clean" description="Clean up and create artifact directories">
@@ -29,7 +31,13 @@
<target name="phpunit-nocoverage" description="Run unit tests using PHPUnit and generates junit.xml">
<exec executable="phpunit" failonerror="true">
- <arg line="--configuration phpunit.xml.nocoverage ${env.PHPUNIT_ARGS}"/>
+ <arg line="--configuration ${env.PHPUNIT_XML_NOCOVERAGE} ${env.PHPUNIT_ARGS}"/>
+ </exec>
+ </target>
+
+ <target name="phpunit-hhvm" description="Run unit tests using PHPUnit with HHVM specific config">
+ <exec executable="phpunit" failonerror="true">
+ <arg line="--configuration ${env.PHPUNIT_XML_HHVM} ${env.PHPUNIT_ARGS}"/>
</exec>
</target>