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:03:55 +0000 |
commit | e275f29de500a338a02402ecc570405309963b35 (patch) | |
tree | 0278760cd07728d50ae5998cbfd3a9a84ecc67d5 /meta/classes/testimage.bbclass | |
parent | 49568055df0a64e4228f27130b13ccafbba2a460 (diff) | |
download | openembedded-core-e275f29de500a338a02402ecc570405309963b35.tar.gz openembedded-core-e275f29de500a338a02402ecc570405309963b35.tar.bz2 openembedded-core-e275f29de500a338a02402ecc570405309963b35.zip |
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.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-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): from oeqa.oetest import ImageTestContext from oeqa.targetcontrol import get_target_controller from oeqa.utils.dump import get_host_dumper + from bb.utils import export_proxies pn = d.getVar("PN") bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) test_create_extract_dirs(d) + # runtime use network for download projects for build + export_proxies(d) + # we need the host dumper in test context host_dumper = get_host_dumper(d) |