Hi Anuj ,
I understand that generally new ptest directly may not be taken in LTS.
But would request to consider this patch as this change improves confidence in the ImageMagick package in the scarthgap branch without introducing new features or risks.
1) We have this in master @ 96b97c0c6490b713b559a4e82bd699a2ebe357d3
2) No functional changes are introduced to the core package.
This doesn't alter existing runtime behaviour or ABI/API in the LTS/stable branch.
3) This ptest will help users validate the imagemagick on scarthgap improving test coverage for C.I
4) Tested locally on qemu :
root@qemux86-64:~#
root@qemux86-64:~#
root@qemux86-64:~# ptest-runner imagemagick
START: ptest-runner
2025-11-13T08:16
BEGIN: /usr/lib/imagemagick/ptest
=======================================
ImageMagick ptest: Runtime Validation
=======================================
[DEBUG] Launching test script /usr/lib/imagemagick/ptest/imagemagick-ptest.sh
[DEBUG] Starting ImageMagick Ptest with 16x16 pixels
[DEBUG] Generated raw RGB base.rgb for test case
[DEBUG] base.png generated from base.rgb
[DEBUG] roundtrip.rgb generated from base.png
[PASS] RGB data identical after PNG round-trip
[DEBUG] PNG file info:
Colorspace: sRGB
Type: Palette
Depth: 8/4-bit
[DEBUG] Cleaning up temporary files
[DEBUG] Cleanup exit=0
[DEBUG]: imagemagick-ptest.sh sucessfull
PASS: imagemagick-ptest.sh
=======================================
[SUMMARY] Total: 1 | PASS: 1 | FAIL: 0
=======================================
DURATION: 1
END: /usr/lib/imagemagick/ptest
2025-11-13T08:16
STOP: ptest-runner
TOTAL: 1 FAIL: 0
root@qemux86-64:~#
Thanks ,
Ashish