Hi Mathieu, Thanks for catching this. I see that one test "mpn/t-addaddmul" is failing only for qemuarm64 and qemuriscv64 platforms. The issue is that mpn/t-addaddmul exits with code 77 on architectures without a native mpn_addaddmul_1msb0 implementation (riscv64, arm64). Exit 77 is the autotools convention for SKIP, but the run-ptest script was treating any non-zero exit as FAIL. I appreciate you catching this as my test setup has qemux86-64 as the MACHINE so i did not see this test failing there.
I have sent a v2 with the fix to handle exit 77 as SKIP. Best Regards, Pratik ________________________________________ From: Mathieu Dubois-Briand <[email protected]> Sent: Wednesday, May 6, 2026 6:19 PM To: Pratik Farkase; [email protected] Cc: [email protected] Subject: Re: [OE-core][PATCH v1] gmp: add ptest support On Wed May 6, 2026 at 9:46 AM CEST, Pratik Farkase wrote: > Add ptest support for gmp, running the full upstream unit test suite > (200 tests) covering mpz, mpn, mpf, mpq, rand, misc, and C++ bindings. > > Tests are compiled with 'make check TESTS=' to build without executing, > then installed via libtool to the ptest directory preserving the upstream > subdirectory structure. > > Tested on qemux86-64 with ptest-runner: 200 PASS, 0 FAIL (268s). > > Signed-off-by: Pratik Farkase <[email protected]> > --- Hi Pratik, Thanks for your patch. I believe we are seeing some failing tests on the autobuilder: AssertionError: Failed ptests: {'gmp': ['mpn/t-addaddmul']} https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1552 https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/367 https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1553 Ptest logs can be found here: https://valkyrie.yocto.io/pub/non-release/20260506-64/testresults/qemuriscv64-ptest/core-image-ptest-gmp/ https://valkyrie.yocto.io/pub/non-release/20260506-64/testresults/qemuarm64-musl-ptest/core-image-ptest-gmp/ 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 (#236550): https://lists.openembedded.org/g/openembedded-core/message/236550 Mute This Topic: https://lists.openembedded.org/mt/119175556/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
