summaryrefslogtreecommitdiff
path: root/java/module.xml
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2008-05-08 12:24:43 +0000
committerArnaud Simon <arnaudsimon@apache.org>2008-05-08 12:24:43 +0000
commita4c7758c71707b67881f7bc819af159acbe99577 (patch)
tree48ceb5ebf68f05a3e35287f7781616768e239684 /java/module.xml
parentec9c7045d5f52b9eaea58d8ab8f4b1636af10aea (diff)
downloadqpid-python-a4c7758c71707b67881f7bc819af159acbe99577.tar.gz
QPID-1037: Added module name prop and an exclude.modules prop + switch systests off in cpp profiles.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654505 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/module.xml')
-rw-r--r--java/module.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/java/module.xml b/java/module.xml
index de6007b6d2..2b5a798d58 100644
--- a/java/module.xml
+++ b/java/module.xml
@@ -185,10 +185,15 @@
</and>
</condition>
+
<property file="${project.root}/${config}"/>
+ <condition property="dontruntest" value="dontruntest" else="runtest">
+ <contains substring="${module.name}" string="${exclude.modules}" />
+ </condition>
+
<target name="test" depends="build,compile-tests" if="module.test.src.exists"
- description="execute unit tests">
+ unless="${dontruntest}" description="execute unit tests">
<junit fork="${test.fork}" maxmemory="${test.mem}" reloading="no"
haltonfailure="${haltonfailure}" haltonerror="${haltonerror}"