diff options
Diffstat (limited to 'qpid/java/module.xml')
| -rw-r--r-- | qpid/java/module.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml index de6007b6d2..2b5a798d58 100644 --- a/qpid/java/module.xml +++ b/qpid/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}" |
