[Buildroot] [git commit] support/testing/tests/package/test_gzip.py: new runtime test
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Jul 11 20:43:26 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=a1e2d0496b10dab4bd4c66535915af1c6ceb4691
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_gzip.py | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index 57c25c4cfd..2cf343f9bc 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1733,6 +1733,7 @@ F: support/testing/tests/package/test_ddrescue.py
F: support/testing/tests/package/test_ddrescue/
F: support/testing/tests/package/test_dos2unix.py
F: support/testing/tests/package/test_gnupg2.py
+F: support/testing/tests/package/test_gzip.py
F: support/testing/tests/package/test_highway.py
F: support/testing/tests/package/test_hwloc.py
F: support/testing/tests/package/test_iperf3.py
diff --git a/support/testing/tests/package/test_gzip.py b/support/testing/tests/package/test_gzip.py
new file mode 100644
index 0000000000..1d5f374853
--- /dev/null
+++ b/support/testing/tests/package/test_gzip.py
@@ -0,0 +1,13 @@
+from tests.package.test_compressor_base import TestCompressorBase
+
+
+class TestGzip(TestCompressorBase):
+ __test__ = True
+ config = TestCompressorBase.config + \
+ """
+ BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
+ BR2_PACKAGE_GZIP=y
+ """
+ compress_cmd = "gzip"
+ decompress_cmd = "gunzip"
+ compressed_file_ext = ".gz"
More information about the buildroot
mailing list