1from tests.package.test_compressor_base import TestCompressorBase
2
3
4class TestPixz(TestCompressorBase):
5    __test__ = True
6    config = TestCompressorBase.config + \
7        """
8        BR2_PACKAGE_PIXZ=y
9        """
10    compress_cmd = "pixz -p3"
11    decompress_cmd = "pixz -d"
12    compressed_file_ext = ".xz"
13
14    def check_integrity_test(self):
15        # Do nothing for the integrity test because "pixz" does not
16        # implement this feature. The "-t" option has other functions:
17        # https://github.com/vasi/pixz/blob/v1.0.7/src/pixz.1.asciidoc#options
18        pass
19