* [Buildroot] [PATCH 1/1] support/testing/tests/package/test_pigz.py: new runtime test
@ 2023-07-14 16:42 Julien Olivain
2023-07-14 21:26 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2023-07-14 16:42 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
DEVELOPERS | 1 +
support/testing/tests/package/test_pigz.py | 12 ++++++++++++
2 files changed, 13 insertions(+)
create mode 100644 support/testing/tests/package/test_pigz.py
diff --git a/DEVELOPERS b/DEVELOPERS
index 1021e5c6ba..b65f583542 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1754,6 +1754,7 @@ F: support/testing/tests/package/test_ola.py
F: support/testing/tests/package/test_ola/
F: support/testing/tests/package/test_openblas.py
F: support/testing/tests/package/test_perftest.py
+F: support/testing/tests/package/test_pigz.py
F: support/testing/tests/package/test_python_distro.py
F: support/testing/tests/package/test_python_gnupg.py
F: support/testing/tests/package/test_python_hkdf.py
diff --git a/support/testing/tests/package/test_pigz.py b/support/testing/tests/package/test_pigz.py
new file mode 100644
index 0000000000..92a4170265
--- /dev/null
+++ b/support/testing/tests/package/test_pigz.py
@@ -0,0 +1,12 @@
+from tests.package.test_compressor_base import TestCompressorBase
+
+
+class TestPigz(TestCompressorBase):
+ __test__ = True
+ config = TestCompressorBase.config + \
+ """
+ BR2_PACKAGE_PIGZ=y
+ """
+ compress_cmd = "pigz -p3"
+ decompress_cmd = "pigz -d -p3"
+ compressed_file_ext = ".gz"
--
2.41.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-14 21:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14 16:42 [Buildroot] [PATCH 1/1] support/testing/tests/package/test_pigz.py: new runtime test Julien Olivain
2023-07-14 21:26 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox