mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
buildtools-tarball: add testsdk task
Add a testsdk task, which is essentially the same as testsdk.bbclass but the test case directory is changed. This lets us exercise the buildtools tarballs at build time. (From OE-Core rev: 39a0e45ced42826832f84cfbf1cf50ed7c334997) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
635e21fdd5
commit
43af729d31
@@ -99,3 +99,16 @@ TOOLCHAIN_NEED_CONFIGSITE_CACHE = ""
|
|||||||
|
|
||||||
# The recipe doesn't need any default deps
|
# The recipe doesn't need any default deps
|
||||||
INHIBIT_DEFAULT_DEPS = "1"
|
INHIBIT_DEFAULT_DEPS = "1"
|
||||||
|
|
||||||
|
python do_testsdk() {
|
||||||
|
import oeqa.sdk.testsdk
|
||||||
|
testsdk = oeqa.sdk.testsdk.TestSDK()
|
||||||
|
|
||||||
|
cases_path = os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), "buildtools-cases")
|
||||||
|
testsdk.context_executor_class.default_cases = cases_path
|
||||||
|
|
||||||
|
testsdk.run(d)
|
||||||
|
}
|
||||||
|
addtask testsdk
|
||||||
|
do_testsdk[nostamp] = "1"
|
||||||
|
do_testsdk[depends] += "xz-native:do_populate_sysroot"
|
||||||
|
|||||||
Reference in New Issue
Block a user