[jboss-svn-commits] JBL Code SVN: r24440 - labs/jbossbuild/buildmagic/trunk/tasks.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Dec 19 12:49:59 EST 2008
Author: pgier
Date: 2008-12-19 12:49:59 -0500 (Fri, 19 Dec 2008)
New Revision: 24440
Modified:
labs/jbossbuild/buildmagic/trunk/tasks/build.xml
Log:
Setup integration testing.
Modified: labs/jbossbuild/buildmagic/trunk/tasks/build.xml
===================================================================
--- labs/jbossbuild/buildmagic/trunk/tasks/build.xml 2008-12-19 17:38:19 UTC (rev 24439)
+++ labs/jbossbuild/buildmagic/trunk/tasks/build.xml 2008-12-19 17:49:59 UTC (rev 24440)
@@ -221,9 +221,12 @@
<!--| Test build magic against some sample projects. |-->
<!--+====================================================================+-->
- <target name="integration-test" depends="output"
+ <target name="integration-tests" depends="output"
description="Run the integration tests.">
+ <echo>
+ Running Integration Tests
+ </echo>
<property name="output.it" location="output/it"/>
<mkdir dir="${output.it}"/>
@@ -236,7 +239,22 @@
<fileset dir="${dist.root}"/>
</copy>
+ <!--<ant antfile="${output.it}/simple-build/build/build.xml" inheritAll="false"
+ output="${output.it}/simple-build/buildlog.txt"/>-->
+ <exec command="ant" dir="${output.it}/simple-build/build/"
+ output="${output.it}/simple-build/buildlog.txt" failonerror="true"/>
+ <fail>
+ <condition>
+ <not>
+ <available file="${output.it}/simple-build/module2/output"/>
+ </not>
+ </condition>
+ </fail>
+ <echo>
+ End Integration Tests
+ </echo>
+
</target>
More information about the jboss-svn-commits
mailing list