glibc run-built-tests not working as expected when set to 'no'
"rajmohan r" <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
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
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