cmake: temporarily set tests/auto/cmake insignificant on mac
authorRohan McGovern <rohan.mcgovern@nokia.com>
Fri, 27 Apr 2012 01:06:37 +0000 (11:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Apr 2012 01:10:06 +0000 (03:10 +0200)
cmake was installed on CI macs _after_ this test was added, causing the
test to block unrelated changes.  Temporarily disable it as previously
agreed with Stephen Kelly.

Change-Id: I079c0016a5e4a9a03ee1a0bae9a2e836c6b985d6
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
tests/auto/cmake/cmake.pro

index 9767914..1de466b 100644 (file)
@@ -4,6 +4,8 @@ CMAKE_VERSION = $$system(cmake --version)
 # Cause make to do nothing.
 TEMPLATE = subdirs
 
+mac:CONFIG+=insignificant_test
+
 check.commands =
 isEmpty(CMAKE_VERSION) {
     message("cmake executable not found. Not running CMake unit tests")
@@ -47,4 +49,8 @@ isEmpty(CMAKE_VERSION) {
     }
 }
 
+insignificant_test:!isEmpty(check.commands) {
+    check.commands = -$${check.commands}
+}
+
 QMAKE_EXTRA_TARGETS *= check