mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
260741847a
commit
e5f05409d0
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user