summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/SOURCE_PACKAGE
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-11-26 18:53:59 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 22:20:35 (GMT)
commit0f15aee799a0af9fe1999d5c071483c9660ccf5b (patch)
tree477d915af34a04434e58c76b2ca52866077b919a /Tests/RunCMake/CPack/tests/SOURCE_PACKAGE
parenta0ad6fc4dc55541f66534abcf050aaf63c65033f (diff)
downloadCMake-0f15aee799a0af9fe1999d5c071483c9660ccf5b.zip
CMake-0f15aee799a0af9fe1999d5c071483c9660ccf5b.tar.gz
CMake-0f15aee799a0af9fe1999d5c071483c9660ccf5b.tar.bz2
Tests: CPack test move ExpectedFiles script
Merge per generator ExpectedFiles scripts into one per test and move it to test dir.
Diffstat (limited to 'Tests/RunCMake/CPack/tests/SOURCE_PACKAGE')
-rw-r--r--Tests/RunCMake/CPack/tests/SOURCE_PACKAGE/ExpectedFiles.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/SOURCE_PACKAGE/ExpectedFiles.cmake b/Tests/RunCMake/CPack/tests/SOURCE_PACKAGE/ExpectedFiles.cmake
new file mode 100644
index 0000000..d6811eb
--- /dev/null
+++ b/Tests/RunCMake/CPack/tests/SOURCE_PACKAGE/ExpectedFiles.cmake
@@ -0,0 +1,5 @@
+set(whitespaces_ "[\t\n\r ]*")
+
+set(EXPECTED_FILES_COUNT "1")
+set(EXPECTED_FILE_1 "source_package*.src.rpm")
+set(EXPECTED_FILE_CONTENT_1 "^source_package-0.1.1.tar.gz${whitespaces_}source_package.spec$")