瀏覽代碼

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>
Julien Olivain 2 年之前
父節點
當前提交
2fd06a0e57
共有 2 個文件被更改,包括 17 次插入0 次删除
  1. 1 0
      DEVELOPERS
  2. 16 0
      support/testing/tests/package/test_zchunk.py

+ 1 - 0
DEVELOPERS

@@ -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>

+ 16 - 0
support/testing/tests/package/test_zchunk.py

@@ -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