exiv2: add ptest support

The project has extensive runtime- and unittest suite - make use of it.

It takes around 10 seconds to run both suites.

Added two patches:
One is needed to convert python unittest output into automake output.

The other is required to be able to configure test data folder at
compile time - otherwise the tests are looking for the test-data
with absolute paths from the build machine.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2025-11-23 12:09:35 +01:00
committed by Khem Raj
parent 09c7f76c19
commit 35bc4860f1
5 changed files with 101 additions and 2 deletions
@@ -13,6 +13,7 @@ PTESTS_FAST_META_OE = "\
cmocka \
cunit \
duktape \
exiv2 \
fuse3 \
function2 \
fwupd \