support/testing/tests/package/test_bzip2.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-06 21:01:01 +02:00 committed by Thomas Petazzoni
parent a1e2d0496b
commit 1fcc0dcb00
2 changed files with 13 additions and 0 deletions

View File

@ -1728,6 +1728,7 @@ F: support/testing/tests/package/sample_python_gnupg.py
F: support/testing/tests/package/sample_python_hwdata.py
F: support/testing/tests/package/sample_python_pyalsa.py
F: support/testing/tests/package/sample_python_spake2.py
F: support/testing/tests/package/test_bzip2.py
F: support/testing/tests/package/test_compressor_base.py
F: support/testing/tests/package/test_ddrescue.py
F: support/testing/tests/package/test_ddrescue/

View File

@ -0,0 +1,12 @@
from tests.package.test_compressor_base import TestCompressorBase
class TestBzip2(TestCompressorBase):
__test__ = True
config = TestCompressorBase.config + \
"""
BR2_PACKAGE_BZIP2=y
"""
compress_cmd = "bzip2"
decompress_cmd = "bunzip2"
compressed_file_ext = ".bz2"