diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-01 16:37:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-02 09:56:19 +0100 |
commit | 8c9e8fd0d15d76080e7f691280610b91f9cc4898 (patch) | |
tree | 02af1e7e664b7361f6ccb0025f8162fd390ac03b /bitbake/lib/bb/parse/parse_py/ConfHandler.py | |
parent | 2fc30ac2a8f198edd6a6d447455ba38bba5d07ea (diff) | |
download | poky-8c9e8fd0d15d76080e7f691280610b91f9cc4898.tar.gz |
elfutils: ptest fixes
Changes to improve the way ptest runs:
a) Use the standalone test mode which allows the tests to be run in their
'installled' locations on target (but not any of the standalone build pieces)
b) We want to use the binaries from their installed locations so the run-subr
script needs tweaking to run them like that. The rpath conditional isn't
enough since we want the second entry in the case statement.
c) Add an oecheck make target which we can use to build the test binaries we need
d) Add missing -ptest package dependencies (needs coreutils, ${PN}, ${PN}-binutils, make)
e) Don't add RPATH to the test binaries, we don't need that
f) Add some extra parameters to the make command to ensure tests run correctly
Before:
-----------------------------------------------------
Recipe | Passed | Failed | Skipped | Time(s)
-----------------------------------------------------
elfutils | 31 | 4 | 168 | 6
-----------------------------------------------------
After:
-----------------------------------------------------
Recipe | Passed | Failed | Skipped | Time(s)
-----------------------------------------------------
elfutils | 173 | 25 | 5 | 15
-----------------------------------------------------
(From OE-Core rev: 7ff76b86299289a4a5741f910399d95232f64f32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/ConfHandler.py')
0 files changed, 0 insertions, 0 deletions