diff options
Diffstat (limited to 'meta/classes/testimage.bbclass')
| -rw-r--r-- | meta/classes/testimage.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 6b6781d860..770ec801c2 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
| @@ -130,8 +130,8 @@ def testimage_main(d): | |||
| 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 | 131 | from oeqa.utils.dump import get_host_dumper |
| 132 | 132 | ||
| 133 | pn = d.getVar("PN", True) | 133 | pn = d.getVar("PN") |
| 134 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR", True)) | 134 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) |
| 135 | test_create_extract_dirs(d) | 135 | test_create_extract_dirs(d) |
| 136 | 136 | ||
| 137 | # we need the host dumper in test context | 137 | # we need the host dumper in test context |
| @@ -176,10 +176,10 @@ def testimage_main(d): | |||
| 176 | target.stop() | 176 | target.stop() |
| 177 | 177 | ||
| 178 | def test_create_extract_dirs(d): | 178 | def test_create_extract_dirs(d): |
| 179 | install_path = d.getVar("TEST_INSTALL_TMP_DIR", True) | 179 | install_path = d.getVar("TEST_INSTALL_TMP_DIR") |
| 180 | package_path = d.getVar("TEST_PACKAGED_DIR", True) | 180 | package_path = d.getVar("TEST_PACKAGED_DIR") |
| 181 | extracted_path = d.getVar("TEST_EXTRACTED_DIR", True) | 181 | extracted_path = d.getVar("TEST_EXTRACTED_DIR") |
| 182 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR", True)) | 182 | bb.utils.mkdirhier(d.getVar("TEST_LOG_DIR")) |
| 183 | bb.utils.remove(package_path, recurse=True) | 183 | bb.utils.remove(package_path, recurse=True) |
| 184 | bb.utils.mkdirhier(install_path) | 184 | bb.utils.mkdirhier(install_path) |
| 185 | bb.utils.mkdirhier(package_path) | 185 | bb.utils.mkdirhier(package_path) |
