diff options
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 6fed408613..62ecaef502 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -128,8 +128,8 @@ def testimage_main(d): | |||
128 | import signal | 128 | import signal |
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 | ||
132 | from bb.utils import export_proxies | 131 | from bb.utils import export_proxies |
132 | from oeqa.utils.dump import HostDumper | ||
133 | 133 | ||
134 | pn = d.getVar("PN") | 134 | pn = d.getVar("PN") |
135 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) | 135 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) |
@@ -139,7 +139,8 @@ def testimage_main(d): | |||
139 | export_proxies(d) | 139 | export_proxies(d) |
140 | 140 | ||
141 | # we need the host dumper in test context | 141 | # we need the host dumper in test context |
142 | host_dumper = get_host_dumper(d) | 142 | host_dumper = HostDumper(d.getVar("testimage_dump_host", True), |
143 | d.getVar("TESTIMAGE_DUMP_DIR", True)) | ||
143 | 144 | ||
144 | # the robot dance | 145 | # the robot dance |
145 | target = get_target_controller(d) | 146 | target = get_target_controller(d) |