[OE-core] [PATCH] elfutils: fix ptest failures
Yu, Mingli
mingli.yu at windriver.com
Tue May 28 09:31:21 UTC 2019
On 2019年05月26日 04:16, richard.purdie at linuxfoundation.org wrote:
> On Wed, 2019-05-22 at 17:11 +0800, mingli.yu at windriver.com wrote:
>> From: Mingli Yu <Mingli.Yu at windriver.com>
>>
>> * Add missing -ptest package dependencies (needs
>> ${PN}-dbg)
>>
>> * Add missing files which needed by ptest test
>> to fix below failures:
>> | ./run-ar.sh: line 23: cd:
>> /usr/lib64/elfutils/ptest/tests/..//src: No such file or directory
>> | FAIL: run-ar.sh
>>
>> | 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
>>
>> Before:
>> --------------------------------------------
>> Recipe | Passed | Failed | Skipped
>> --------------------------------------------
>> elfutils | 176 | 23 | 4
>> --------------------------------------------
>>
>> After:
>> --------------------------------------------
>> Recipe | Passed | Failed | Skipped
>> --------------------------------------------
>> elfutils | 184 | 15 | 4
>> --------------------------------------------
>>
>
> Unfortunately if I add this to the build we see failures due to core-
> image-sato-sdk-ptest becomming too large for generix86-64 as the image
> exceeds the 4GB limit its FSTYPE allows.
>
> I tried reducing the amount of free space in the image but then the
> strace and until-linux ptests fail:
>
> https://autobuilder.yocto.io/pub/non-release/20190524-8/testresults/testresult-report.txt
>
> We do plan to change the hddimg format and use wic to avoid the 4GB
> limit sometime in 2.8 but those patches aren't ready yet. I'm therefore
> not quite sure what to do here. Is there any way we can save space in
> the images so we could merge this?
It will be better if any space can be saved.
>
> Wth regard to the src/ directory, I did wonder if there needed to be a
> patch to one of the other scripts to use installed files (similar to
> how I fixed some of these last time)?
Have checked your patch about new target oecheck. Anyway, I have
narrowed down a little to copy only the needed files to src/ dir.
And I also send out v2 patch then which updated to fix all the tests.
Thanks,
>
> Cheers,
>
> Richard
>
>
More information about the Openembedded-core
mailing list