diff options
author | Sven Gothel <[email protected]> | 2012-02-24 17:43:45 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-24 17:43:45 +0100 |
commit | 0dce3191754bd73138ff6a72e576a2af05f850ba (patch) | |
tree | 427d62e5fde7f0897ca33a1209465f9c79b0885e /make/jogamp-env.xml | |
parent | 036eedab9e9c09f0ebe161cfc7dab6f85b9c5839 (diff) |
Introduce environment-var/property to disable unit tests (per node)
JUNIT_DISABLED -> junit.is.disabled
Diffstat (limited to 'make/jogamp-env.xml')
-rwxr-xr-x | make/jogamp-env.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml index de8995d..07083c7 100755 --- a/make/jogamp-env.xml +++ b/make/jogamp-env.xml @@ -52,6 +52,13 @@ <target name="jogamp.env.init" depends="jogamp.env.validation"> <property environment="env" /> + <condition property="junit.is.disabled" value="${env.JUNIT_DISABLED}"> + <not> + <equals arg1="${env.JUNIT_DISABLED}" arg2="$${env.JUNIT_DISABLED}" casesensitive="true" /> + </not> + </condition> + <echo message="junit.is.disabled ${junit.is.disabled}"/> + <condition property="junit.run.arg0" value="${env.JUNIT_RUN_ARG0}"> <not> <equals arg1="${env.JUNIT_RUN_ARG0}" arg2="$${env.JUNIT_RUN_ARG0}" casesensitive="true" /> |