From e275f29de500a338a02402ecc570405309963b35 Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Mon, 5 Dec 2016 16:10:12 -0600 Subject: oeqa/runtime: Fix TargetBuildProject instances MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- meta/classes/testimage.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes/testimage.bbclass') 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) -- cgit 1.2.3-korg