summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/DEBUGINFO
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 14:30:46 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 22:20:35 (GMT)
commitb687d2ba093b1b79e9faf09e45d11567b0ec9ac1 (patch)
treee71ea1d488d0e1130fa2f211bdabff0a322fc86b /Tests/RunCMake/CPack/tests/DEBUGINFO
parented8858edb7c5100e1928c5a94f85485f0e322aa7 (diff)
downloadCMake-b687d2ba093b1b79e9faf09e45d11567b0ec9ac1.zip
CMake-b687d2ba093b1b79e9faf09e45d11567b0ec9ac1.tar.gz
CMake-b687d2ba093b1b79e9faf09e45d11567b0ec9ac1.tar.bz2
Tests: CPack test use same content list
Content list for a certain test should be the same between different generators so whenever possible use a single expected files list per file for all generators.
Diffstat (limited to 'Tests/RunCMake/CPack/tests/DEBUGINFO')
-rw-r--r--Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake b/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
index 044744b..06e56d3 100644
--- a/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
+++ b/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
@@ -2,12 +2,13 @@ set(whitespaces_ "[\t\n\r ]*")
set(EXPECTED_FILES_COUNT "5")
set(EXPECTED_FILES_NAME_GENERATOR_SPECIFIC_FORMAT TRUE)
+
set(EXPECTED_FILE_1_COMPONENT "applications")
-set(EXPECTED_FILE_CONTENT_1 "^/usr/foo${whitespaces_}/usr/foo/test_prog$")
+set(EXPECTED_FILE_CONTENT_1_LIST "/usr;/usr/foo;/usr/foo/test_prog")
set(EXPECTED_FILE_2 "debuginfo*-headers.rpm")
-set(EXPECTED_FILE_CONTENT_2 "^/usr/bar${whitespaces_}/usr/bar/CMakeLists.txt$")
+set(EXPECTED_FILE_CONTENT_2_LIST "/usr;/usr/bar;/usr/bar/CMakeLists.txt")
set(EXPECTED_FILE_3 "debuginfo*-libs.rpm")
-set(EXPECTED_FILE_CONTENT_3 "^/usr/bas${whitespaces_}/usr/bas/libtest_lib.so$")
+set(EXPECTED_FILE_CONTENT_3_LIST "/usr;/usr/bas;/usr/bas/libtest_lib.so")
set(EXPECTED_FILE_4_COMPONENT "applications-debuginfo")
set(EXPECTED_FILE_CONTENT_4 ".*/src${whitespaces_}/src/src_1${whitespaces_}/src/src_1/main.cpp.*")