Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] support/testing: add zip test
@ 2024-05-10 23:55 Brandon Maier via buildroot
  2024-05-10 23:55 ` [Buildroot] [PATCH 2/2] package/zip: fix build with GCC 14 Brandon Maier via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Brandon Maier via buildroot @ 2024-05-10 23:55 UTC (permalink / raw)
  To: buildroot; +Cc: Jan Pedersen, Brandon Maier

Signed-off-by: Brandon Maier <brandon.maier@collins.com>
---
 support/testing/tests/package/test_zip.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 support/testing/tests/package/test_zip.py

diff --git a/support/testing/tests/package/test_zip.py b/support/testing/tests/package/test_zip.py
new file mode 100644
index 0000000000..eb2e016988
--- /dev/null
+++ b/support/testing/tests/package/test_zip.py
@@ -0,0 +1,15 @@
+from tests.package.test_compressor_base import TestCompressorBase
+
+
+class TestZip(TestCompressorBase):
+    __test__ = True
+    config = TestCompressorBase.config + \
+        """
+        BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
+        BR2_PACKAGE_ZIP=y
+        BR2_PACKAGE_UNZIP=y
+        """
+    compress_cmd = "/bin/sh -c 'zip $1.zip $1' /bin/sh"
+    decompress_cmd = "unzip"
+    check_integrity_cmd = "unzip -t"
+    compressed_file_ext = ".zip"
-- 
2.45.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-08  7:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10 23:55 [Buildroot] [PATCH 1/2] support/testing: add zip test Brandon Maier via buildroot
2024-05-10 23:55 ` [Buildroot] [PATCH 2/2] package/zip: fix build with GCC 14 Brandon Maier via buildroot
2024-05-11  6:56   ` Thomas Petazzoni via buildroot
2024-06-08  7:44   ` Peter Korsgaard
2024-05-11  6:54 ` [Buildroot] [PATCH 1/2] support/testing: add zip test Thomas Petazzoni via buildroot
2024-06-08  7:44 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox