summaryrefslogtreecommitdiffstats
path: root/make/jogamp-env.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-24 17:43:45 +0100
committerSven Gothel <[email protected]>2012-02-24 17:43:45 +0100
commit0dce3191754bd73138ff6a72e576a2af05f850ba (patch)
tree427d62e5fde7f0897ca33a1209465f9c79b0885e /make/jogamp-env.xml
parent036eedab9e9c09f0ebe161cfc7dab6f85b9c5839 (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-xmake/jogamp-env.xml7
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" />