[OE-core] [PATCH v3] elfutils: fix ptest failures

Yu, Mingli mingli.yu at windriver.com
Thu May 30 06:04:39 UTC 2019



On 2019年05月30日 02:40, richard.purdie at linuxfoundation.org wrote:
> 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

Will send out v4 to fix it.

Thanks,

>
> Cheers,
>
> Richard
>
>


More information about the Openembedded-core mailing list