summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/configure_file/UTF16LE-BOM-stderr.txt
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2014-03-07 05:55:07 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2014-03-17 20:01:55 (GMT)
commit98383f802aadcd2d469c4d7543e0a2abe8c3cdb9 (patch)
tree86a419ec22832a1597b52da6d85b1d989cb1fbea /Tests/RunCMake/configure_file/UTF16LE-BOM-stderr.txt
parente21ffaf8fe5499426604b4ebb9cd08798ee6107c (diff)
downloadCMake-98383f802aadcd2d469c4d7543e0a2abe8c3cdb9.zip
CMake-98383f802aadcd2d469c4d7543e0a2abe8c3cdb9.tar.gz
CMake-98383f802aadcd2d469c4d7543e0a2abe8c3cdb9.tar.bz2
Unicode: check encoding of files given to configure_file.
UTF-16 and UTF-32 files are rejected.
Diffstat (limited to 'Tests/RunCMake/configure_file/UTF16LE-BOM-stderr.txt')
-rw-r--r--Tests/RunCMake/configure_file/UTF16LE-BOM-stderr.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/configure_file/UTF16LE-BOM-stderr.txt b/Tests/RunCMake/configure_file/UTF16LE-BOM-stderr.txt
new file mode 100644
index 0000000..8f997bc
--- /dev/null
+++ b/Tests/RunCMake/configure_file/UTF16LE-BOM-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at UTF16LE-BOM.cmake:2 \(configure_file\):
+ File starts with a Byte-Order-Mark that is not UTF-8:
+
+ .*/Tests/RunCMake/configure_file/UTF16LE-BOM.txt.in
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)