summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2017-11-18 23:04:54 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2017-11-19 13:55:00 (GMT)
commit176281e131f244bfc987a696951a87ea9b909840 (patch)
treed6e26ca3afb0375188d71b7aeb0336b7b1f47978 /Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
parentcf0c25995d6fd213727f578b35139a822fbaee77 (diff)
downloadCMake-176281e131f244bfc987a696951a87ea9b909840.zip
CMake-176281e131f244bfc987a696951a87ea9b909840.tar.gz
CMake-176281e131f244bfc987a696951a87ea9b909840.tar.bz2
CPack test: correctly handle CPACK_PACKAGING_INSTALL_PREFIX
Every CPack generator sets default CPACK_PACKAGING_INSTALL_PREFIX variable value differently so test framework should support that correctly - previous version expected RPM/Deb /usr default and removed it for Archive packagers as the default there is /.
Diffstat (limited to 'Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake')
-rw-r--r--Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake b/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
index 3d8de74..b26c6c7 100644
--- a/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
+++ b/Tests/RunCMake/CPack/tests/DEBUGINFO/ExpectedFiles.cmake
@@ -5,11 +5,11 @@ set(EXPECTED_FILES_NAME_GENERATOR_SPECIFIC_FORMAT TRUE)
set(EXPECTED_FILE_1_NAME "Debuginfo")
set(EXPECTED_FILE_1_COMPONENT "applications")
-set(EXPECTED_FILE_CONTENT_1_LIST "/usr;/usr/foo;/usr/foo/test_prog")
+set(EXPECTED_FILE_CONTENT_1_LIST "/foo;/foo/test_prog")
set(EXPECTED_FILE_2 "TestDinfo-pkg*-headers.rpm")
-set(EXPECTED_FILE_CONTENT_2_LIST "/usr;/usr/bar;/usr/bar/CMakeLists.txt")
+set(EXPECTED_FILE_CONTENT_2_LIST "/bar;/bar/CMakeLists.txt")
set(EXPECTED_FILE_3 "TestDinfo-pkg*-libs.rpm")
-set(EXPECTED_FILE_CONTENT_3_LIST "/usr;/usr/bas;/usr/bas/libtest_lib.so")
+set(EXPECTED_FILE_CONTENT_3_LIST "/bas;/bas/libtest_lib.so")
set(EXPECTED_FILE_4_NAME "Debuginfo")
set(EXPECTED_FILE_4_COMPONENT "applications-debuginfo")