diff options
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/testexport.bbclass | 1 | ||||
| -rw-r--r-- | meta/classes/testimage.bbclass | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/testexport.bbclass b/meta/classes/testexport.bbclass index 00cf24e735..5398b3c767 100644 --- a/meta/classes/testexport.bbclass +++ b/meta/classes/testexport.bbclass | |||
| @@ -163,7 +163,6 @@ def exportTests(d,tc): | |||
| 163 | def testexport_main(d): | 163 | def testexport_main(d): |
| 164 | from oeqa.oetest import ExportTestContext | 164 | from oeqa.oetest import ExportTestContext |
| 165 | from oeqa.targetcontrol import get_target_controller | 165 | from oeqa.targetcontrol import get_target_controller |
| 166 | from oeqa.utils.dump import get_host_dumper | ||
| 167 | 166 | ||
| 168 | test_create_extract_dirs(d) | 167 | test_create_extract_dirs(d) |
| 169 | export_dir = d.getVar("TEST_EXPORT_DIR") | 168 | export_dir = d.getVar("TEST_EXPORT_DIR") |
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) |
