summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui.pro
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-11 16:17:19 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-17 03:30:55 +0200
commite33713f03acf45372aaa5f5c9169b11a919beaa4 (patch)
tree8bf4c90b5307d06c9091d087059aea8c705327c0 /tests/auto/gui.pro
parent5ad123c13694da8c5ae417f9b7b8f96fd47170ef (diff)
Only build Mac-specific tests on Mac.
All but one of these tests was already excluded from the build on non-Mac platforms, but still had #ifdef's to make the test empty if compiled on a non-Mac platform. Change-Id: I1a3677c1cdb7bd467cf4317ed4cfbac89e934e76 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/gui.pro')
-rw-r--r--tests/auto/gui.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/gui.pro b/tests/auto/gui.pro
index 607ea68357..65595405a5 100644
--- a/tests/auto/gui.pro
+++ b/tests/auto/gui.pro
@@ -136,7 +136,12 @@ SUBDIRS=\
qx11info \
# This test cannot be run on Mac OS
-mac*:SUBDIRS -= qwindowsurface
+mac*:SUBDIRS -= \
+ qwindowsurface \
+
+# This test can only be run on Mac OS
+!mac:SUBDIRS -= \
+ qmacstyle \
# This test takes too long to run on IRIX, so skip it on that platform
irix-*:SUBDIRS -= qitemview