diff options
author | Ross Burton <ross.burton@arm.com> | 2024-06-12 11:06:59 +0000 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-06-12 16:40:27 +0200 |
commit | c928684ee9959eae3fa5786ae98247c6959c8f53 (patch) | |
tree | 931eaa964badb4650225f505416cc1ad4289f6e0 /meta/classes/cross.bbclass | |
parent | d02c8ce0f7441a1b752df4fd1b151552b71d6f07 (diff) | |
download | openembedded-core-contrib-abelloni/master-next-success.tar.gz |
curl: rewrite ptest installationabelloni/master-next-success
The latest libtool upgrade appears to have resulted in intermediate files
containing build paths. This wouldn't normally be a problem but the
curl-ptest package is populated by copying ${B}/tests/ which includes all
of the intermediate objects, so this causes buildpath warnings.
Rewrite the ptest installation to install just the pieces we need: the
test harness, utility scripts, and the test data. We do not need the
libcurl unit tests nor the HTTP server tests, as we don't run those.
Remove all of the explicitly disabled tests, as many of these were for
tests that run curl-config or scan the source code, neither of which are
available at ptest time. Instead use keyword exclusions to skip them.
Tell the test runner to use the system curl instead of symlinking in the
binary.
Don't copy curl-config, skipping these minor tests is acceptable.
Remove the RDEPENDS on bash, nothing needs this now we're not shipping a
build tree.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta/classes/cross.bbclass')
0 files changed, 0 insertions, 0 deletions