support/testing/tests/package/test_pigz.py: new runtime test

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain 2023-07-14 18:42:19 +02:00 committed by Thomas Petazzoni
parent 305e74b2d8
commit 78c7f45946
2 changed files with 13 additions and 0 deletions

View File

@ -1755,6 +1755,7 @@ F: support/testing/tests/package/test_ola.py
F: support/testing/tests/package/test_ola/
F: support/testing/tests/package/test_openblas.py
F: support/testing/tests/package/test_perftest.py
F: support/testing/tests/package/test_pigz.py
F: support/testing/tests/package/test_python_distro.py
F: support/testing/tests/package/test_python_gnupg.py
F: support/testing/tests/package/test_python_hkdf.py

View File

@ -0,0 +1,12 @@
from tests.package.test_compressor_base import TestCompressorBase
class TestPigz(TestCompressorBase):
__test__ = True
config = TestCompressorBase.config + \
"""
BR2_PACKAGE_PIGZ=y
"""
compress_cmd = "pigz -p3"
decompress_cmd = "pigz -d -p3"
compressed_file_ext = ".gz"