diff options
author | Andrew Fuller <afuller@teradici.com> | 2018-07-20 01:14:40 (GMT) |
---|---|---|
committer | Andrew Fuller <afuller@teradici.com> | 2018-07-25 20:39:07 (GMT) |
commit | 548ac51d8ea319c65abefa0a771636893c45014c (patch) | |
tree | 90e75a26ef74a701937f24bc03495b684d765fb2 /Tests/RunCMake/CPack/RunCMakeTest.cmake | |
parent | 8dc86970c86ec53513a17f4cdb28f2a0be3ee505 (diff) | |
download | CMake-548ac51d8ea319c65abefa0a771636893c45014c.zip CMake-548ac51d8ea319c65abefa0a771636893c45014c.tar.gz CMake-548ac51d8ea319c65abefa0a771636893c45014c.tar.bz2 |
CPack/Deb: Support SOURCE_DATE_EPOCH when packaging files
Diffstat (limited to 'Tests/RunCMake/CPack/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CPack/RunCMakeTest.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/RunCMakeTest.cmake b/Tests/RunCMake/CPack/RunCMakeTest.cmake index 33ffa14..b273c1e 100644 --- a/Tests/RunCMake/CPack/RunCMakeTest.cmake +++ b/Tests/RunCMake/CPack/RunCMakeTest.cmake @@ -28,6 +28,9 @@ run_cpack_test(EXTRA_SLASH_IN_PATH "RPM" true "COMPONENT") run_cpack_source_test(SOURCE_PACKAGE "RPM") run_cpack_test(SUGGESTS "RPM" false "MONOLITHIC") run_cpack_test(SYMLINKS "RPM;TGZ" false "MONOLITHIC;COMPONENT") +set(ENVIRONMENT "SOURCE_DATE_EPOCH=123456789") +run_cpack_test(TIMESTAMPS "DEB;TGZ" false "COMPONENT") +unset(ENVIRONMENT) run_cpack_test(USER_FILELIST "RPM" false "MONOLITHIC") run_cpack_test(MD5SUMS "DEB" false "MONOLITHIC;COMPONENT") run_cpack_test(CPACK_INSTALL_SCRIPT "ZIP" false "MONOLITHIC") |