summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-02-19 10:34:24 +0100
committerSven Gothel <[email protected]>2013-02-19 10:34:24 +0100
commitfd475cc0f42eed11f908da4c725e3f53610ed156 (patch)
tree78b46b13fce978351d58fe57bfe910894a607008 /make
parent6b86764f2e195b4046000fd5a7fcf3331ca72d21 (diff)
Only evn. JUNIT_DISABLED==true -> junit.is.disabled:=true
Diffstat (limited to 'make')
-rwxr-xr-xmake/jogamp-env.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml
index a83397d..77421f5 100755
--- a/make/jogamp-env.xml
+++ b/make/jogamp-env.xml
@@ -64,10 +64,9 @@
<target name="jogamp.env.init" depends="jogamp.env.validation">
<property environment="env" />
+ <!-- only set 'junit.is.disabled' if set in environment as 'true' to disable JUNIT tests -->
<condition property="junit.is.disabled" value="${env.JUNIT_DISABLED}">
- <not>
- <equals arg1="${env.JUNIT_DISABLED}" arg2="$${env.JUNIT_DISABLED}" casesensitive="true" />
- </not>
+ <istrue value="${env.JUNIT_DISABLED}"/>
</condition>
<echo message="junit.is.disabled ${junit.is.disabled}"/>
@@ -84,7 +83,7 @@
</condition>
<property name="junit.run.arg1" value="-Djunit.run.arg1=dummy" /> <!-- default dummy values -->
- <!-- only set 'build.archiveon' if set in environment to trigger archive creation -->
+ <!-- only set 'build.archiveon' if set in environment as 'true' to trigger archive creation -->
<condition property="build.archiveon" value="${env.BUILD_ARCHIVE}">
<istrue value="${env.BUILD_ARCHIVE}"/>
</condition>