diff options
author | Brad King <brad.king@kitware.com> | 2019-05-30 13:39:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-30 13:39:35 (GMT) |
commit | 05af1770a05e00d67f12f4e3ef294360d8d6480d (patch) | |
tree | aa3df4cd9049aaa6c7db42084590e4166cf5ec37 /Tests | |
parent | c68efd196eace176bed5216573d99fabba66df84 (diff) | |
parent | 53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777 (diff) | |
download | CMake-05af1770a05e00d67f12f4e3ef294360d8d6480d.zip CMake-05af1770a05e00d67f12f4e3ef294360d8d6480d.tar.gz CMake-05af1770a05e00d67f12f4e3ef294360d8d6480d.tar.bz2 |
Merge topic 'tar-zstd-compression'
53cb1f2d04 cmake: Teach cmake -E tar command, Zstandard compression
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3357
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CommandLineTar/RunCMakeTest.cmake | 1 | ||||
-rw-r--r-- | Tests/RunCMake/CommandLineTar/pax-zstd.cmake | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLineTar/RunCMakeTest.cmake b/Tests/RunCMake/CommandLineTar/RunCMakeTest.cmake index 4d1b396..a64af95 100644 --- a/Tests/RunCMake/CommandLineTar/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLineTar/RunCMakeTest.cmake @@ -27,6 +27,7 @@ run_cmake(gnutar) run_cmake(gnutar-gz) run_cmake(pax) run_cmake(pax-xz) +run_cmake(pax-zstd) run_cmake(paxr) run_cmake(paxr-bz2) run_cmake(zip) diff --git a/Tests/RunCMake/CommandLineTar/pax-zstd.cmake b/Tests/RunCMake/CommandLineTar/pax-zstd.cmake new file mode 100644 index 0000000..c2a304d --- /dev/null +++ b/Tests/RunCMake/CommandLineTar/pax-zstd.cmake @@ -0,0 +1,10 @@ +set(OUTPUT_NAME "test.tar.zstd") + +set(COMPRESSION_FLAGS cvf) +set(COMPRESSION_OPTIONS --format=pax --zstd) + +set(DECOMPRESSION_FLAGS xvf) + +include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake) + +check_magic("28b52ffd0058" LIMIT 6 HEX) |