Skip to contentSkip to conversation

support/testing/tests/package/test_zchunk.py: new runtime test

PATCH Applied Julien Olivain 2 participants 2 messages Jul 14, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/testing/tests/package/test_zchunk.py: new runtime test

---
 DEVELOPERS                                   |  1 +
 support/testing/tests/package/test_zchunk.py | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 support/testing/tests/package/test_zchunk.py
DEVELOPERS +1 -0
index 1021e5c6ba..bc317bab68 100644
@@ -1767,6 +1767,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 <[email protected]>
support/testing/tests/package/test_zchunk.py new file +16 -0
new file mode 100644
index 0000000000..c250b748ef
@@ -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
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · On Fri, 14 Jul 2023 18:42:30 +0200 Julien Olivain <[email protected]> wrote:
---
 DEVELOPERS                                   |  1 +
 support/testing/tests/package/test_zchunk.py | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 support/testing/tests/package/test_zchunk.py

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot