diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-12-05 16:10:12 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-23 12:05:19 +0000 |
commit | e5f05409d073f089f4e1a78197e5c6cae6e04809 (patch) | |
tree | eb1cff4989d387e27ba4fe5aeb8eed36dbb58d76 /meta/classes | |
parent | 260741847a2070a507a8a504bebd457eac99da5f (diff) | |
download | poky-e5f05409d073f089f4e1a78197e5c6cae6e04809.tar.gz |
oeqa/runtime: Fix TargetBuildProject instances
TargetBuildProject was refactored to avoid bitbake dependency so
the instance don't allow to pass data store anymore.
classes/testimage: Export proxies before run tests
The TargetBuildProject based tests download archives from network.
(From OE-Core rev: e275f29de500a338a02402ecc570405309963b35)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 7eb4038d21..6fed408613 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -129,11 +129,15 @@ def testimage_main(d): | |||
129 | from oeqa.oetest import ImageTestContext | 129 | from oeqa.oetest import ImageTestContext |
130 | from oeqa.targetcontrol import get_target_controller | 130 | from oeqa.targetcontrol import get_target_controller |
131 | from oeqa.utils.dump import get_host_dumper | 131 | from oeqa.utils.dump import get_host_dumper |
132 | from bb.utils import export_proxies | ||
132 | 133 | ||
133 | pn = d.getVar("PN") | 134 | pn = d.getVar("PN") |
134 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) | 135 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) |
135 | test_create_extract_dirs(d) | 136 | test_create_extract_dirs(d) |
136 | 137 | ||
138 | # runtime use network for download projects for build | ||
139 | export_proxies(d) | ||
140 | |||
137 | # we need the host dumper in test context | 141 | # we need the host dumper in test context |
138 | host_dumper = get_host_dumper(d) | 142 | host_dumper = get_host_dumper(d) |
139 | 143 | ||