summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPackConfig/Verbatim-check.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CPackConfig/Verbatim-check.cmake')
-rw-r--r--Tests/RunCMake/CPackConfig/Verbatim-check.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPackConfig/Verbatim-check.cmake b/Tests/RunCMake/CPackConfig/Verbatim-check.cmake
new file mode 100644
index 0000000..958547d
--- /dev/null
+++ b/Tests/RunCMake/CPackConfig/Verbatim-check.cmake
@@ -0,0 +1,10 @@
+include(${RunCMake_SOURCE_DIR}/check.cmake)
+
+test_variable(CPACK_BACKSLASH "\\\\")
+test_variable(CPACK_QUOTE "a\" b \"c")
+test_variable(CPACK_DOLLAR "a\${NOTHING}b")
+
+# make sure the default for this is still set correctly with
+# CPACK_VERBATIM_VARIABLES on
+test_variable(CPACK_SOURCE_IGNORE_FILES
+ "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp$;\\.#;/#")