summaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/build-test.xml')
-rw-r--r--make/build-test.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/build-test.xml b/make/build-test.xml
index feb9ae834..5f975d8e1 100644
--- a/make/build-test.xml
+++ b/make/build-test.xml
@@ -342,7 +342,7 @@
</junit>
</target>
- <target name="junit.run.swt.headless" depends="test.compile" description="Runs all pure SWT tests.">
+ <target name="junit.run.swt.headless" depends="test.compile" description="Runs all pure SWT tests." if="isSWTRuntimeAvailable">
<!-- Test*SWT*
Emulation of junit task.
@@ -406,7 +406,7 @@
</target>
<!-- currently freezes OSX -->
- <target name="junit.run.swt.awt" depends="test.compile" description="Runs all SWT_AWT tests." unless="isOSX">
+ <target name="junit.run.swt.awt" depends="test.compile" description="Runs all SWT_AWT tests." if="isSWTRuntimeAvailable" unless="isOSX">
<!-- Test*SWT* -->
<junit forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}">
<env key="${system.env.library.path}" path="${obj.all.paths}"/>