support/testing/tests/package/test_zchunk.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:30 +02:00 committed by Thomas Petazzoni
parent 78c7f45946
commit 2fd06a0e57
2 changed files with 17 additions and 0 deletions

View File

@ -1769,6 +1769,7 @@ F: support/testing/tests/package/test_stress_ng.py
F: support/testing/tests/package/test_xz.py
F: support/testing/tests/package/test_z3.py
F: support/testing/tests/package/test_z3/
F: support/testing/tests/package/test_zchunk.py
F: support/testing/tests/package/test_zstd.py
N: Julien Viard de Galbert <julien@vdg.name>

View File

@ -0,0 +1,16 @@
from tests.package.test_compressor_base import TestCompressorBase
class TestZchunk(TestCompressorBase):
__test__ = True
config = TestCompressorBase.config + \
"""
BR2_PACKAGE_ZCHUNK=y
BR2_PACKAGE_ZSTD=y
"""
compress_cmd = "zck"
def check_integrity_test(self):
# Do nothing for the integrity test, because "zck" does not
# implement this feature.
pass