diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2015-07-13 20:25:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-15 14:00:03 (GMT) |
commit | 3e6b2ab6832f77a7e073b55331352a88a5d28488 (patch) | |
tree | 46c9f9748023009bfa95da280eb4ac81cdacc962 /Tests/RunCMake/CPack/DEB/DEB_EXTRA-ExpectedFiles.cmake | |
parent | 506f6bc0d269653cbba27257b9fed350365037c3 (diff) | |
download | CMake-3e6b2ab6832f77a7e073b55331352a88a5d28488.zip CMake-3e6b2ab6832f77a7e073b55331352a88a5d28488.tar.gz CMake-3e6b2ab6832f77a7e073b55331352a88a5d28488.tar.bz2 |
CPack/DEB: component version of PACKAGE_CONTROL_EXTRA
Component version of CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
variable.
Diffstat (limited to 'Tests/RunCMake/CPack/DEB/DEB_EXTRA-ExpectedFiles.cmake')
-rw-r--r-- | Tests/RunCMake/CPack/DEB/DEB_EXTRA-ExpectedFiles.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-ExpectedFiles.cmake b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-ExpectedFiles.cmake new file mode 100644 index 0000000..2ff679a --- /dev/null +++ b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-ExpectedFiles.cmake @@ -0,0 +1,9 @@ +set(whitespaces_ "[\t\n\r ]*") + +set(EXPECTED_FILES_COUNT "3") +set(EXPECTED_FILE_1 "deb_extra-*-foo.deb") +set(EXPECTED_FILE_CONTENT_1 "^.*/usr/${whitespaces_}.*/usr/foo/${whitespaces_}.*/usr/foo/CMakeLists.txt$") +set(EXPECTED_FILE_2 "deb_extra-*-bar.deb") +set(EXPECTED_FILE_CONTENT_2 "^.*/usr/${whitespaces_}.*/usr/bar/${whitespaces_}.*/usr/bar/CMakeLists.txt$") +set(EXPECTED_FILE_3 "deb_extra-*-bas.deb") +set(EXPECTED_FILE_CONTENT_3 "^.*/usr/${whitespaces_}.*/usr/bas/${whitespaces_}.*/usr/bas/CMakeLists.txt$") |