summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-06-13 09:39:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-07-02 17:37:04 (GMT)
commitb47c125ff7f088c87183e6ad60850aefdaf43757 (patch)
tree7ac75263740e5490a2feb408bded3440ac9bfb00 /Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake
parent477b07213a806c825f95fdfacd444028e1783dc2 (diff)
downloadCMake-b47c125ff7f088c87183e6ad60850aefdaf43757.zip
CMake-b47c125ff7f088c87183e6ad60850aefdaf43757.tar.gz
CMake-b47c125ff7f088c87183e6ad60850aefdaf43757.tar.bz2
WCDH: Ensure that the prefix argument to the macro is valid.
The prefix must be a C-identifier because it is written as the prefix of preprocessor macros and possibly structs.
Diffstat (limited to 'Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake b/Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake
index be79d41..6dded44 100644
--- a/Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake
+++ b/Tests/RunCMake/WriteCompilerDetectionHeader/RunCMakeTest.cmake
@@ -10,3 +10,5 @@ run_cmake(OldVersion)
run_cmake(InvalidCompiler)
run_cmake(InvalidFeature)
run_cmake(InvalidCXXFeature)
+run_cmake(EmptyPrefix)
+run_cmake(InvalidPrefix)