Author: linus
Date: 2008-02-29 02:32:55-0800
New Revision: 14166
Modified:
trunk/src/app/build.xml
trunk/src/build.xml
trunk/src/model-mdr/build/ (props changed)
Log:
The "tests"-target shall not fail.
Modified: trunk/src/app/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/app/build.xml?view=diff&rev=14166&p1=trunk/src/app/build.xml&p2=trunk/src/app/build.xml&r1=14165&r2=14166
==============================================================================
--- trunk/src/app/build.xml (original)
+++ trunk/src/app/build.xml 2008-02-29 02:32:55-0800
@@ -453,7 +453,8 @@
<!-- =================================================================== -->
<!-- Run the junit tests. -->
<!-- =================================================================== -->
- <target name="tests-dont-fail"
+ <target name="tests"
+ description="Run all tests that don't require any GUI components in headleass mode."
depends="compile,junit-setup,junit-report-clean,
ant.optional.init">
@@ -487,8 +488,8 @@
<antcall target="junit-report-create"/>
</target>
- <target name="tests" depends="tests-dont-fail"
- description="Run all tests that don't require any GUI components in headleass mode.">
+ <target name="tests-and-fail" depends="tests"
+ description="Run tests and fail if any test failed.">
<fail message="JUnit tests failed." if="junit.failure"/>
</target>
Modified: trunk/src/build.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/build.xml?view=diff&rev=14166&p1=trunk/src/build.xml&p2=trunk/src/build.xml&r1=14165&r2=14166
==============================================================================
--- trunk/src/build.xml (original)
+++ trunk/src/build.xml 2008-02-29 02:32:55-0800
@@ -49,7 +49,8 @@
jar - to build everything and move all created and exported jars
to subdir/build
clean - to remove subdir/build
- tests (optional) - to run all tests
+ tests (optional) - to run all tests. Property junit.failure is set if
+ any of the test fails.
compile, compile-tests (optional) (local to build.xml and used by
tests, and jar)
The jar and tests target rely on the contents of subdir/build for other
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.