summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/README.txt
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/README.txt
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/README.txt')
-rw-r--r--Tests/RunCMake/CPack/README.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/README.txt b/Tests/RunCMake/CPack/README.txt
index 5877f97..5ca1216 100644
--- a/Tests/RunCMake/CPack/README.txt
+++ b/Tests/RunCMake/CPack/README.txt
@@ -153,6 +153,12 @@ this step and must contain
is later changed automatically depending on the generator so expected
package content can be written only once per test for all generators.
+- EXPECTED_FILE_PACKAGING_PREFIX and
+ EXPECTED_FILE_<file_number_starting_with_1>_PACKAGING_PREFIX variables can be
+ set to explicitly specified CPACK_PACKAGING_PREFIX value. By default this
+ variable does not need to be set as it is implicitly set to package generator
+ specific prefix.
+
Optional verification phase is generator specific and is optionaly executed.
This phase is executed if '<test_name>/VerifyResult.cmake' script exists.