diff mbox series

[1/1] support/testing/tests/package/test_lrzip.py: new runtime test

Message ID 20230723104920.346025-1-ju.o@free.fr
State Accepted
Headers show
Series [1/1] support/testing/tests/package/test_lrzip.py: new runtime test | expand

Commit Message

Julien Olivain July 23, 2023, 10:49 a.m. UTC
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 DEVELOPERS                                  |  1 +
 support/testing/tests/package/test_lrzip.py | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 support/testing/tests/package/test_lrzip.py

Comments

Yann E. MORIN July 23, 2023, 2:39 p.m. UTC | #1
Julien, All,

On 2023-07-23 12:49 +0200, Julien Olivain spake thusly:
> Signed-off-by: Julien Olivain <ju.o@free.fr>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  DEVELOPERS                                  |  1 +
>  support/testing/tests/package/test_lrzip.py | 12 ++++++++++++
>  2 files changed, 13 insertions(+)
>  create mode 100644 support/testing/tests/package/test_lrzip.py
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index a6644819bd..1b474c541f 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1751,6 +1751,7 @@ F:	support/testing/tests/package/test_iperf3.py
>  F:	support/testing/tests/package/test_kexec.py
>  F:	support/testing/tests/package/test_kexec/
>  F:	support/testing/tests/package/test_libjxl.py
> +F:	support/testing/tests/package/test_lrzip.py
>  F:	support/testing/tests/package/test_lzip.py
>  F:	support/testing/tests/package/test_lsof.py
>  F:	support/testing/tests/package/test_lz4.py
> diff --git a/support/testing/tests/package/test_lrzip.py b/support/testing/tests/package/test_lrzip.py
> new file mode 100644
> index 0000000000..31559d4e87
> --- /dev/null
> +++ b/support/testing/tests/package/test_lrzip.py
> @@ -0,0 +1,12 @@
> +from tests.package.test_compressor_base import TestCompressorBase
> +
> +
> +class TestLrzip(TestCompressorBase):
> +    __test__ = True
> +    config = TestCompressorBase.config + \
> +        """
> +        BR2_PACKAGE_LRZIP=y
> +        """
> +    compress_cmd = "lrzip"
> +    decompress_cmd = "lrunzip"
> +    compressed_file_ext = ".lrz"
> -- 
> 2.41.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/DEVELOPERS b/DEVELOPERS
index a6644819bd..1b474c541f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1751,6 +1751,7 @@  F:	support/testing/tests/package/test_iperf3.py
 F:	support/testing/tests/package/test_kexec.py
 F:	support/testing/tests/package/test_kexec/
 F:	support/testing/tests/package/test_libjxl.py
+F:	support/testing/tests/package/test_lrzip.py
 F:	support/testing/tests/package/test_lzip.py
 F:	support/testing/tests/package/test_lsof.py
 F:	support/testing/tests/package/test_lz4.py
diff --git a/support/testing/tests/package/test_lrzip.py b/support/testing/tests/package/test_lrzip.py
new file mode 100644
index 0000000000..31559d4e87
--- /dev/null
+++ b/support/testing/tests/package/test_lrzip.py
@@ -0,0 +1,12 @@ 
+from tests.package.test_compressor_base import TestCompressorBase
+
+
+class TestLrzip(TestCompressorBase):
+    __test__ = True
+    config = TestCompressorBase.config + \
+        """
+        BR2_PACKAGE_LRZIP=y
+        """
+    compress_cmd = "lrzip"
+    decompress_cmd = "lrunzip"
+    compressed_file_ext = ".lrz"