summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/CPACK_INSTALL_SCRIPT/ExpectedFiles.cmake
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2017-07-31 14:53:11 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-20 17:33:22 (GMT)
commit091663395e25a9671024b8f5a8be9995b7b80604 (patch)
treef096b347a7c8807a9060fabd873e3b91fee3f1b8 /Tests/RunCMake/CPack/tests/CPACK_INSTALL_SCRIPT/ExpectedFiles.cmake
parent4547d9a83030f8ae7e636cef16a261c65e6feb40 (diff)
downloadCMake-091663395e25a9671024b8f5a8be9995b7b80604.zip
CMake-091663395e25a9671024b8f5a8be9995b7b80604.tar.gz
CMake-091663395e25a9671024b8f5a8be9995b7b80604.tar.bz2
CPack: Add missing check for CPACK_INSTALL_SCRIPT variable
Also add a test case that uses CPACK_INSTALL_SCRIPT. Co-Author: Domen Vrankar <domen.vrankar@gmail.com> Fixes: #15005
Diffstat (limited to 'Tests/RunCMake/CPack/tests/CPACK_INSTALL_SCRIPT/ExpectedFiles.cmake')
-rw-r--r--Tests/RunCMake/CPack/tests/CPACK_INSTALL_SCRIPT/ExpectedFiles.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/CPACK_INSTALL_SCRIPT/ExpectedFiles.cmake b/Tests/RunCMake/CPack/tests/CPACK_INSTALL_SCRIPT/ExpectedFiles.cmake
new file mode 100644
index 0000000..5cb12c3
--- /dev/null
+++ b/Tests/RunCMake/CPack/tests/CPACK_INSTALL_SCRIPT/ExpectedFiles.cmake
@@ -0,0 +1,3 @@
+set(EXPECTED_FILES_COUNT "1")
+
+set(EXPECTED_FILE_CONTENT_1_LIST "/usr;/usr/foo;/usr/foo/abc.txt")