summaryrefslogtreecommitdiffstats
path: root/make/build-test.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-18 20:08:04 +0200
committerSven Gothel <[email protected]>2011-10-18 20:08:04 +0200
commitd3c3d69ded58e325287746635d614fc5db43594a (patch)
treea2ddb929d2c8833e0e14db4d105f7bfbb7678ee2 /make/build-test.xml
parentfe9d0bee5185a4f523f2fc7fdd6efb718e20378d (diff)
Exclude SWT tests on platforms w/o SWT runtime
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}"/>