[OE-core] [PATCH v3] elfutils: fix ptest failures
richard.purdie at linuxfoundation.org
richard.purdie at linuxfoundation.org
Wed May 29 18:40:15 UTC 2019
On Wed, 2019-05-29 at 16:55 +0800, mingli.yu at windriver.com wrote:
> From: Mingli Yu <Mingli.Yu at windriver.com>
>
> * Add missing -ptest package dependency (needs
> ${PN}-dev)
>
> * Add missing files which needed by ptest test
> to fix the ptest failures such as:
> | sh: ../src/elflint: No such file or directory
> | FAIL: asm-tst4
>
> * Rework 0001-skip-the-test-when-gcc-not-deployed.patch
> to skip the tests which depend on gcc
>
> * Define INHIBIT_PACKAGE_STRIP_FILES for elfutils to
> avoid stripping some generated binaries otherwise
> some of the tests such as test-nlist, run-strip-reloc.sh,
> run-strip-strmerge.sh and so on will fail
>
> Before:
> --------------------------------------------
> Recipe | Passed | Failed | Skipped
> --------------------------------------------
> elfutils | 176 | 23 | 4
> --------------------------------------------
>
> After:
> --------------------------------------------
> Recipe | Passed | Failed | Skipped
> --------------------------------------------
> elfutils | 199 | 0 | 4
> --------------------------------------------
>
> Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
I tested this without the libdir strip lines and it fails on musl:
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/645
Cheers,
Richard
More information about the Openembedded-core
mailing list