[Buildroot] [git commit] support/testing/tests/package/test_brotli.py: new runtime test

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Jul 14 09:59:47 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=d3142f032a527d2118818890b5afb94c7decc4d7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Julien Olivain <ju.o at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 DEVELOPERS                                   |  1 +
 support/testing/tests/package/test_brotli.py | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index abea0bbb86..202a8ba501 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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
diff --git a/support/testing/tests/package/test_brotli.py b/support/testing/tests/package/test_brotli.py
new file mode 100644
index 0000000000..779b956cb3
--- /dev/null
+++ b/support/testing/tests/package/test_brotli.py
@@ -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



More information about the buildroot mailing list