]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
libarchive: add ptest support
authorPratik Farkase <pratik.farkase@est.tech>
Tue, 10 Feb 2026 19:33:28 +0000 (20:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Feb 2026 17:27:28 +0000 (17:27 +0000)
commit6e0bf90e31c969fb18efb18aaceaee886194a7b7
treecaa0f31daffabc265044af485188ca6d7f6e0320
parentb0bec96403f94312a4ab87d4d489132f2eb853ea
libarchive: add ptest support

Add ptest support to enable automated testing of libarchive
using ptest-runner.

The implementation builds and installs five test suites:
libarchive_test, bsdtar_test, bsdcpio_test, bsdcat_test, and
bsdunzip_test, along with their test data files.

Test executables for bsdtar, bsdcpio, bsdcat, and bsdunzip are
provided via symlinks to the installed binaries.

All tests on qemux86-64 pass:
  libarchive_test: 689 tests
  bsdtar_test: 76 tests
  bsdcpio_test: 49 tests
  bsdcat_test: 18 tests
  bsdunzip_test: 8 tests

Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/ptest-packagelists.inc
meta/recipes-extended/libarchive/libarchive/run-ptest [new file with mode: 0755]
meta/recipes-extended/libarchive/libarchive_3.8.5.bb