On Fri Sep 25, 2026 at 10:05 AM CEST, Himani Ramesh Barde via
lists.openembedded.org wrote:
> Run the libtiff test suite as a ptest: the C unit tests (the automake
> check_PROGRAMS) and the shell tests that drive the tiff command-line tools.
>
> do_compile_ptest builds the test programs. do_install_ptest installs the
> binaries, the shell scripts, the common.sh helper, and the images/ and
> refs/ data, and points common.sh at the installed tools in ${bindir}
> instead of the build tree. The recipe lists the C programs once, in
> TIFF_PTEST_PROGS, and fills that list into run-ptest at install time.
>
> One test, test_ifd_loop_detection, opened its images through a build-time
> path instead of relative to the current directory, so it failed once
> installed. A small upstream patch makes it read the images from ".", like
> the other tests, so it now passes on every architecture.
>
> run-ptest prints automake-style PASS/FAIL/SKIP lines. Two tests skip in the
> default configuration:
>
> - the JBIG test, because jbig is not in the default PACKAGECONFIG
> - the thumbnail test, because the thumbnail tool is not built
>
> Registered under PTESTS_SLOW in ptest-packagelists.inc; the suite runs in
> about 30s on qemux86-64.
>
> Validated on qemux86-64:
>
> - 17 C unit tests pass
> - 85 shell tests pass
> - 2 skip (jbig, thumbnail)
> - 0 fail
>
> Signed-off-by: Himani Ramesh Barde <[email protected]>
> ---
Hi Himani Ramesh,
Thanks for the new version. It looks like the embedded patch fails to
apply here:
ERROR: tiff-4.7.2-r0 do_patch: QA Issue: Fuzz detected:
Applying patch test_ifd_loop_detection-relative-images.patch
patching file test/test_ifd_loop_detection.c
Hunk #1 succeeded at 45 with fuzz 2 (offset 11 lines).
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4740
Can you have a look at the issue?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246649):
https://lists.openembedded.org/g/openembedded-core/message/246649
Mute This Topic: https://lists.openembedded.org/mt/121423287/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-