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

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

The implementation installs test programs (version, pipeconnect,
fdpassing) and the shell script test (fdpassing-socket.sh).

All 4 tests pass on qemux86-64:
START: ptest-runner
BEGIN: /usr/lib/libassuan/ptest
PASS: version
Received data `Your lucky number is 3552664958674928.  Watch for it everywhere.'
PASS: pipeconnect
PASS: fdpassing
PASS: fdpassing-socket.sh
END: /usr/lib/libassuan/ptest
STOP: ptest-runner
TOTAL: 1 FAIL: 0

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-support/libassuan/libassuan/run-ptest [new file with mode: 0755]
meta/recipes-support/libassuan/libassuan_3.0.2.bb