summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Swift
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-09-06 16:14:35 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2015-09-06 16:14:35 (GMT)
commit1aa29f0db614f1292cff24633d61218d82490d1e (patch)
tree76af442f4bc0119d81a86b044e689cd3567faa7f /Tests/RunCMake/Swift
parentd778a1c2ff56c425678bb9ec630c4fbd3d63bbbc (diff)
downloadCMake-1aa29f0db614f1292cff24633d61218d82490d1e.zip
CMake-1aa29f0db614f1292cff24633d61218d82490d1e.tar.gz
CMake-1aa29f0db614f1292cff24633d61218d82490d1e.tar.bz2
Swift: Remove positive Swift language tests
It's relatively complex to determine in advance if a Xcode, SDK, and Deployment Target configuration is capable of running Swift. For example the following combinations do not work: * deployment target < OS X 10.9 * Xcode 6.2 and macosx10.9 SDK * Xcode 7 Beta 6 and macosx10.10 SDK Until we found out how to query Xcode for Swift support in a reliable way, the RunCMake.Swift test cases will be restricted to negative ones.
Diffstat (limited to 'Tests/RunCMake/Swift')
-rw-r--r--Tests/RunCMake/Swift/Enable-stdout.txt1
-rw-r--r--Tests/RunCMake/Swift/Enable.cmake1
-rw-r--r--Tests/RunCMake/Swift/RunCMakeTest.cmake2
3 files changed, 0 insertions, 4 deletions
diff --git a/Tests/RunCMake/Swift/Enable-stdout.txt b/Tests/RunCMake/Swift/Enable-stdout.txt
deleted file mode 100644
index 39e133f..0000000
--- a/Tests/RunCMake/Swift/Enable-stdout.txt
+++ /dev/null
@@ -1 +0,0 @@
--- The Swift compiler identification is Apple
diff --git a/Tests/RunCMake/Swift/Enable.cmake b/Tests/RunCMake/Swift/Enable.cmake
deleted file mode 100644
index 19f297a..0000000
--- a/Tests/RunCMake/Swift/Enable.cmake
+++ /dev/null
@@ -1 +0,0 @@
-enable_language(Swift)
diff --git a/Tests/RunCMake/Swift/RunCMakeTest.cmake b/Tests/RunCMake/Swift/RunCMakeTest.cmake
index 0a57121..4864295 100644
--- a/Tests/RunCMake/Swift/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Swift/RunCMakeTest.cmake
@@ -3,8 +3,6 @@ include(RunCMake)
if(RunCMake_GENERATOR STREQUAL Xcode)
if(XCODE_BELOW_6_1)
run_cmake(XcodeTooOld)
- else()
- run_cmake(Enable)
endif()
else()
run_cmake(NotSupported)