diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2019-03-11 22:26:04 (GMT) |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2019-05-22 01:46:55 (GMT) |
commit | 53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777 (patch) | |
tree | c0c9a75e128ad3962065264948f41c16a9d7296b /Tests | |
parent | 0bf53483295a4b7de358e8b85ad44866d89633c5 (diff) | |
download | CMake-53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777.zip CMake-53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777.tar.gz CMake-53cb1f2d04bc9ca7bd50bd3b1a60dc933eab0777.tar.bz2 |
cmake: Teach cmake -E tar command, Zstandard compression
Fixes #18657
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 5deb110..4ed9535 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) |