svn commit: r17614 - trunk: . src/argouml-app src/argouml-build src/argouml-core-diagrams-sequence2 src/argouml-core-model-euml src/argouml-core-model-mdr src/argouml-core-umlpropertypanels
Linus Tolke <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: linus
Date: 2009-12-06 13:05:49-0800
New Revision: 17614
Modified:
trunk/build.xml
trunk/src/argouml-app/build.xml
trunk/src/argouml-build/build.xml
trunk/src/argouml-core-diagrams-sequence2/build.xml
trunk/src/argouml-core-model-euml/build.xml
trunk/src/argouml-core-model-mdr/build.xml
trunk/src/argouml-core-umlpropertypanels/build.xml
Log:
Added the tests-xml target.
Modified: trunk/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/build.xml?view=diff&pathrev=17614&r1=17613&r2=17614
==============================================================================
--- trunk/build.xml (original)
+++ trunk/build.xml 2009-12-06 13:05:49-0800
@@ -94,18 +94,23 @@
<!-- =================================================================== -->
<!-- Targets for tests -->
<!-- =================================================================== -->
- <target name="tests"
+ <target name="tests-xml"
description="Run normal tests.">
+ <ant dir="src/argouml-build" inheritAll="false" target="tests-xml"/>
+ </target>
+
+ <target name="tests"
+ description="Run normal tests and build reports.">
<ant dir="src/argouml-build" inheritAll="false" target="tests"/>
</target>
<target name="guitests"
- description="Run the GUI tests.">
+ description="Run the GUI tests and build reports.">
<ant dir="src/argouml-build" inheritAll="false" target="guitests"/>
</target>
<target name="alltests"
- description="Run all tests.">
+ description="Run all tests and build reports.">
<ant dir="src/argouml-build" inheritAll="false" target="alltests"/>
</target>
Modified: trunk/src/argouml-app/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/build.xml?view=diff&pathrev=17614&r1=17613&r2=17614
==============================================================================
--- trunk/src/argouml-app/build.xml (original)
+++ trunk/src/argouml-app/build.xml 2009-12-06 13:05:49-0800
@@ -495,9 +495,9 @@
<antcall target="coverage-report-xml"/>
</target>
- <target name="tests"
+ <target name="tests-xml"
description="Run all tests that don't require any GUI components in headleass mode."
- depends="compile,junit-setup,junit-report-clean,
+ depends="compile,junit-setup,
ant.optional.init" >
<junit errorproperty="junit.failure" failureproperty="junit.failure"
@@ -525,7 +525,12 @@
</fileset>
</batchtest>
</junit>
+ </target>
+ <target name="tests"
+ depends="tests-xml,junit-report-clean"
+ description="Run all tests that don't require any GUI components in headleass mode.
+Build reports.">
<antcall target="junit-report-create"/>
</target>
@@ -541,7 +546,7 @@
<target name="guitests"
depends="compile,junit-setup,junit-report-clean,
ant.optional.init"
- description="Run all tests that require the GUI components.">
+ description="Run all tests that require the GUI components and build reports.">
<junit errorproperty="junit.failure" failureproperty="junit.failure"
fork="yes" dir="${basedir}" forkmode="perTest"
Modified: trunk/src/argouml-build/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-build/build.xml?view=diff&pathrev=17614&r1=17613&r2=17614
==============================================================================
--- trunk/src/argouml-build/build.xml (original)
+++ trunk/src/argouml-build/build.xml 2009-12-06 13:05:49-0800
@@ -389,22 +389,29 @@
</target>
- <target name="tests"
+ <target name="tests-xml"
description="Run tests in all subsystems.">
<antcall target="tests-run-them-all">
<param name="tests-to-do" value="tests"/>
</antcall>
</target>
+ <target name="tests"
+ description="Run tests in all subsystems and build reports.">
+ <antcall target="tests-run-them-all">
+ <param name="tests-to-do" value="tests"/>
+ </antcall>
+ </target>
+
<target name="guitests"
- description="Run GUI tests in all subsystems.">
+ description="Run GUI tests in all subsystems and build reports.">
<antcall target="tests-run-them-all">
<param name="tests-to-do" value="guitests"/>
</antcall>
</target>
<target name="alltests"
- description="Run all tests in all subsystems.">
+ description="Run all tests in all subsystems and build reports.">
<antcall target="tests-run-them-all">
<param name="tests-to-do" value="alltests"/>
</antcall>
Modified: trunk/src/argouml-core-diagrams-sequence2/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-diagrams-sequence2/build.xml?view=diff&pathrev=17614&r1=17613&r2=17614
==============================================================================
--- trunk/src/argouml-core-diagrams-sequence2/build.xml (original)
+++ trunk/src/argouml-core-diagrams-sequence2/build.xml 2009-12-06 13:05:49-0800
@@ -201,7 +201,7 @@
<!-- =================================================================== -->
<!-- Run the junit tests. -->
<!-- =================================================================== -->
- <target name="tests" depends="compile,compile-tests"
+ <target name="tests-xml" depends="compile,compile-tests"
description="Run all tests that don't require any GUI components in headleass mode.">
<mkdir dir="build/tests/reports"/>
@@ -226,6 +226,8 @@
</junit>
</target>
+ <target name="tests" depends="tests-xml"
+ description="Run all the tests."/>
<!-- =================================================================== -->
<!-- Eclipse PDE targets from here to end of file -->
Modified: trunk/src/argouml-core-model-euml/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/build.xml?view=diff&pathrev=17614&r1=17613&r2=17614
==============================================================================
--- trunk/src/argouml-core-model-euml/build.xml (original)
+++ trunk/src/argouml-core-model-euml/build.xml 2009-12-06 13:05:49-0800
@@ -243,8 +243,8 @@
<!-- =================================================================== -->
<!-- Runs the tests -->
<!-- =================================================================== -->
- <target name="tests"
- depends="init,compile,compile-tests,junit-report-clean">
+ <target name="tests-xml"
+ depends="init,compile,compile-tests">
<!-- create directories -->
<mkdir dir="${tests.classes}"/>
@@ -266,6 +266,10 @@
</fileset>
</batchtest>
</junit>
+ </target>
+
+ <target name="tests"
+ depends="tests-xml,junit-report-clean">
<antcall target="junit-report-create"/>
</target>
Modified: trunk/src/argouml-core-model-mdr/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-mdr/build.xml?view=diff&pathrev=17614&r1=17613&r2=17614
==============================================================================
--- trunk/src/argouml-core-model-mdr/build.xml (original)
+++ trunk/src/argouml-core-model-mdr/build.xml 2009-12-06 13:05:49-0800
@@ -346,8 +346,8 @@
<!-- =================================================================== -->
<!-- Runs the tests -->
<!-- =================================================================== -->
- <target name="tests"
- depends="init,compile,compile-tests,junit-report-clean">
+ <target name="tests-xml"
+ depends="init,compile,compile-tests">
<!-- create directories -->
<mkdir dir="${tests.classes}"/>
@@ -368,6 +368,10 @@
</fileset>
</batchtest>
</junit>
+ </target>
+
+ <target name="tests"
+ depends="tests-xml,junit-report-clean">
<antcall target="junit-report-create"/>
</target>
Modified: trunk/src/argouml-core-umlpropertypanels/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-umlpropertypanels/build.xml?view=diff&pathrev=17614&r1=17613&r2=17614
==============================================================================
--- trunk/src/argouml-core-umlpropertypanels/build.xml (original)
+++ trunk/src/argouml-core-umlpropertypanels/build.xml 2009-12-06 13:05:49-0800
@@ -201,7 +201,7 @@
<!-- =================================================================== -->
<!-- Run the junit tests. -->
<!-- =================================================================== -->
- <target name="tests" depends="compile,compile-tests"
+ <target name="tests-xml" depends="compile,compile-tests"
description="Run all tests that don't require any GUI components in headleass mode.">
<mkdir dir="build/tests/reports"/>
@@ -226,6 +226,9 @@
</junit>
</target>
+ <target name="tests" depends="tests-xml"
+ description="Run all the tests."/>
+
<!-- =================================================================== -->
<!-- Eclipse PDE targets from here to end of file -->
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2427641
To unsubscribe from this discussion, e-mail: [[email protected]].