Re: [poky] glibc run-built-tests not working as expected when set to 'no'
Khem Raj <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
On 2/28/25 6:44 AM, rajmohan r via lists.yoctoproject.org wrote:
> Hi All
> For glibc-y2038-tests recipe, when 'bitbake -c do_check glibc-y2038-tests'
> is executed, could see that the tests binaries are also run.
> Below is the do_check() contents from glibc-y2038-tests_2.39.bb
> # Just build tests for target - do not run them
> do_check:append () {
> oe_runmake -i check run-built-tests=no
> }
> On completion of do_check stage, test binaries are also run and test
> summary
> details are present at the end of 'log.do_check' file and is given below:
> from log.do_check and time it takes to complete the do_check() stage is
> 12min to 13min for scarthgap branch.
> === Summary of results ===
> 74 FAIL
> 1172 PASS
> 15 XFAIL
there are certain tests which do not require running, its possible thats
being reported here. Can you share a sample of test which is executed
like it should happen at runtime?
> Option 'run-built-tests' is not working as expected as said in the recipe
> like build only the tests binaries but do not run tests binaries.
> please let me know why test binaries are also been run when
> 'run-built-tests'
> is set to 'no' for 'bitbake -c do_check glibc-y2038-tests' or running the
> tests binaries is an expected behaviour for the above do_check() stage.
> Thanks for reading the message.
> regards
> rajmohan
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#13544):https://lists.yoctoproject.org/g/poky/message/13544
> Mute This Topic:https://lists.yoctoproject.org/mt/111435049/1997914
> Group Owner:[email protected]
> Unsubscribe:https://lists.yoctoproject.org/g/poky/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>