diff options
Diffstat (limited to 'meta/lib/oeqa/runexported.py')
-rwxr-xr-x | meta/lib/oeqa/runexported.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py index 7e245c4120..9cfea0f7ab 100755 --- a/meta/lib/oeqa/runexported.py +++ b/meta/lib/oeqa/runexported.py | |||
@@ -43,8 +43,8 @@ class FakeTarget(object): | |||
43 | self.ip = None | 43 | self.ip = None |
44 | self.server_ip = None | 44 | self.server_ip = None |
45 | self.datetime = time.strftime('%Y%m%d%H%M%S',time.gmtime()) | 45 | self.datetime = time.strftime('%Y%m%d%H%M%S',time.gmtime()) |
46 | self.testdir = d.getVar("TEST_LOG_DIR", True) | 46 | self.testdir = d.getVar("TEST_LOG_DIR") |
47 | self.pn = d.getVar("PN", True) | 47 | self.pn = d.getVar("PN") |
48 | 48 | ||
49 | def exportStart(self): | 49 | def exportStart(self): |
50 | self.sshlog = os.path.join(self.testdir, "ssh_target_log.%s" % self.datetime) | 50 | self.sshlog = os.path.join(self.testdir, "ssh_target_log.%s" % self.datetime) |
@@ -130,8 +130,8 @@ def extract_sdk(d): | |||
130 | """ | 130 | """ |
131 | 131 | ||
132 | export_dir = os.path.dirname(os.path.realpath(__file__)) | 132 | export_dir = os.path.dirname(os.path.realpath(__file__)) |
133 | tools_dir = d.getVar("TEST_EXPORT_SDK_DIR", True) | 133 | tools_dir = d.getVar("TEST_EXPORT_SDK_DIR") |
134 | tarball_name = "%s.sh" % d.getVar("TEST_EXPORT_SDK_NAME", True) | 134 | tarball_name = "%s.sh" % d.getVar("TEST_EXPORT_SDK_NAME") |
135 | tarball_path = os.path.join(export_dir, tools_dir, tarball_name) | 135 | tarball_path = os.path.join(export_dir, tools_dir, tarball_name) |
136 | extract_path = os.path.join(export_dir, "sysroot") | 136 | extract_path = os.path.join(export_dir, "sysroot") |
137 | if os.path.isfile(tarball_path): | 137 | if os.path.isfile(tarball_path): |