aboutsummaryrefslogtreecommitdiff
path: root/tests/test_compress_generated_text
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-05-23 21:17:47 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-05-23 21:31:20 +0300
commit9a6dd6d46f7f256a5573e5d874c1052033ed7b05 (patch)
tree87e5f43d35f693b8930e1da5d359af8d0b96fd73 /tests/test_compress_generated_text
parentTest: Make create_compress_files.c a little more flexible. (diff)
downloadxz-9a6dd6d46f7f256a5573e5d874c1052033ed7b05.tar.xz
Tests: Split test_compress.sh into separate test unit for each file.
test_compress.sh now takes one command line argument: a filename to be tested. If it begins with "compress_generated_" the file will be created with create_compress_files. This will allow parallel execution of the slow tests.
Diffstat (limited to 'tests/test_compress_generated_text')
-rwxr-xr-xtests/test_compress_generated_text3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_compress_generated_text b/tests/test_compress_generated_text
new file mode 100755
index 00000000..412ae0e9
--- /dev/null
+++ b/tests/test_compress_generated_text
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec "$srcdir/test_compress.sh" compress_generated_text