summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileFeatures/NotAStandard-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-27 21:48:39 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-28 17:14:42 (GMT)
commit00d66557d49989f9813ba9f04beaa0a984699cf0 (patch)
tree921297d0937dbdfb57b9103ec23994cd1dc44d78 /Tests/RunCMake/CompileFeatures/NotAStandard-stderr.txt
parent99575c9ac114e6f5d388e1ee7b9a3f788d773c9e (diff)
downloadCMake-00d66557d49989f9813ba9f04beaa0a984699cf0.zip
CMake-00d66557d49989f9813ba9f04beaa0a984699cf0.tar.gz
CMake-00d66557d49989f9813ba9f04beaa0a984699cf0.tar.bz2
Diagnose invalid <LANG>_STANDARD value instead of crashing (#15426)
Diffstat (limited to 'Tests/RunCMake/CompileFeatures/NotAStandard-stderr.txt')
-rw-r--r--Tests/RunCMake/CompileFeatures/NotAStandard-stderr.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompileFeatures/NotAStandard-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAStandard-stderr.txt
new file mode 100644
index 0000000..deab12f
--- /dev/null
+++ b/Tests/RunCMake/CompileFeatures/NotAStandard-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at NotAStandard.cmake:[0-9]+ \(add_library\):
+ CXX_STANDARD is set to invalid value 'bad'
+Call Stack \(most recent call first\):
+ CMakeLists.txt:[0-9]+ \(include\)