diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-26 20:37:07 +0100 |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-27 23:20:35 +0100 |
commit | 8575affa4c72e1c0d07f964d2f28eb6ddbadb291 (patch) | |
tree | c3a77601235a27d120bc983cbc56cdc493d7aa26 /Tests/RunCMake/CPack/TGZ | |
parent | 79443e1b8b604de00d269e73a977f449bc3fcef2 (diff) | |
download | cmake-8575affa4c72e1c0d07f964d2f28eb6ddbadb291.tar.gz |
Tests: CPack test move and merge VerifyResult
Merge VerifyResult of different generators
pertest and move the file to its test dir.
Diffstat (limited to 'Tests/RunCMake/CPack/TGZ')
-rw-r--r-- | Tests/RunCMake/CPack/TGZ/PACKAGE_CHECKSUM-VerifyResult.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Tests/RunCMake/CPack/TGZ/PACKAGE_CHECKSUM-VerifyResult.cmake b/Tests/RunCMake/CPack/TGZ/PACKAGE_CHECKSUM-VerifyResult.cmake deleted file mode 100644 index e4f9618d31..0000000000 --- a/Tests/RunCMake/CPack/TGZ/PACKAGE_CHECKSUM-VerifyResult.cmake +++ /dev/null @@ -1,12 +0,0 @@ -if(NOT ${RunCMake_SUBTEST_SUFFIX} MATCHES "invalid") - string(TOLOWER ${RunCMake_SUBTEST_SUFFIX} EXTENSION) - file(GLOB PACKAGE RELATIVE ${bin_dir} "*.tar.gz") - file(GLOB CSUMFILE RELATIVE ${bin_dir} "*.${EXTENSION}") - file(STRINGS ${CSUMFILE} CHSUM_VALUE) - file(${RunCMake_SUBTEST_SUFFIX} ${PACKAGE} expected_value ) - set(expected_value "${expected_value} ${PACKAGE}") - - if(NOT expected_value STREQUAL CHSUM_VALUE) - message(FATAL_ERROR "Generated checksum is not valid! Expected [${expected_value}] Got [${CHSUM_VALUE}]") - endif() -endif() |