summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/File_Archive/pax-xz-compression-level.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/File_Archive/pax-xz-compression-level.cmake')
-rw-r--r--Tests/RunCMake/File_Archive/pax-xz-compression-level.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/File_Archive/pax-xz-compression-level.cmake b/Tests/RunCMake/File_Archive/pax-xz-compression-level.cmake
new file mode 100644
index 0000000000..d241adb947
--- /dev/null
+++ b/Tests/RunCMake/File_Archive/pax-xz-compression-level.cmake
@@ -0,0 +1,10 @@
+set(OUTPUT_NAME "test.tar.xz")
+
+set(ARCHIVE_FORMAT pax)
+set(COMPRESSION_TYPE XZ)
+
+include(${CMAKE_CURRENT_LIST_DIR}/compression-level.cmake)
+
+check_compression_level("1")
+check_compression_level("5")
+check_compression_level("9")