support/testing/tests/package/test_brotli.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-13 23:32:56 +02:00 committed by Thomas Petazzoni
parent c46df9de21
commit d3142f032a
2 changed files with 14 additions and 0 deletions

View File

@ -1730,6 +1730,7 @@ F: support/testing/tests/package/sample_python_pyalsa.py
F: support/testing/tests/package/sample_python_spake2.py
F: support/testing/tests/package/test_acpica.py
F: support/testing/tests/package/test_acpica/
F: support/testing/tests/package/test_brotli.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

View File

@ -0,0 +1,13 @@
from tests.package.test_compressor_base import TestCompressorBase
class TestBrotli(TestCompressorBase):
__test__ = True
config = TestCompressorBase.config + \
"""
BR2_PACKAGE_BROTLI=y
"""
compress_cmd = "brotli"
decompress_cmd = "brotli -d"
compressed_file_ext = ".br"
timeout = 60