diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 19:58:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-18 23:27:28 +0000 |
commit | 20058345e0a2027aea5213f02ad4016b4bda69d1 (patch) | |
tree | 730da7f66d9119d76b2da658d92493cc2f973777 /meta/recipes-core/meta/buildtools-tarball.bb | |
parent | 153208c7e5321295848307ec479a7b69c83894b0 (diff) | |
download | poky-20058345e0a2027aea5213f02ad4016b4bda69d1.tar.gz |
buildtools-docs-tarball: Add test for building documentation using sphinx
(From OE-Core rev: 26b224a1bbe27b5d9886be4552147e1d66e34519)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/meta/buildtools-tarball.bb')
-rw-r--r-- | meta/recipes-core/meta/buildtools-tarball.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index 60f6aac837..fac91cfc3c 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb | |||
@@ -99,11 +99,14 @@ TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" | |||
99 | # The recipe doesn't need any default deps | 99 | # The recipe doesn't need any default deps |
100 | INHIBIT_DEFAULT_DEPS = "1" | 100 | INHIBIT_DEFAULT_DEPS = "1" |
101 | 101 | ||
102 | # Directory in testsdk that contains testcases | ||
103 | TESTSDK_CASES = "buildtools-cases" | ||
104 | |||
102 | python do_testsdk() { | 105 | python do_testsdk() { |
103 | import oeqa.sdk.testsdk | 106 | import oeqa.sdk.testsdk |
104 | testsdk = oeqa.sdk.testsdk.TestSDK() | 107 | testsdk = oeqa.sdk.testsdk.TestSDK() |
105 | 108 | ||
106 | cases_path = os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), "buildtools-cases") | 109 | cases_path = os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), d.getVar("TESTSDK_CASES")) |
107 | testsdk.context_executor_class.default_cases = cases_path | 110 | testsdk.context_executor_class.default_cases = cases_path |
108 | 111 | ||
109 | testsdk.run(d) | 112 | testsdk.run(d) |