summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/esdk_prepare.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/esdk_prepare.py')
-rwxr-xr-xmeta/lib/oeqa/selftest/esdk_prepare.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/esdk_prepare.py b/meta/lib/oeqa/selftest/esdk_prepare.py
index 1b36a0d682..406089787d 100755
--- a/meta/lib/oeqa/selftest/esdk_prepare.py
+++ b/meta/lib/oeqa/selftest/esdk_prepare.py
@@ -28,8 +28,8 @@ class ExtSdkPrepareTest(unittest.TestCase):
28 # load module under test 28 # load module under test
29 self.test_mod = imp.load_source("", module_dest_path) 29 self.test_mod = imp.load_source("", module_dest_path)
30 except: 30 except:
31 print "error: unable to copy or load %s [src: %s, dst: %s]" % \ 31 print("error: unable to copy or load %s [src: %s, dst: %s]" % \
32 (module_file_name, module_path, module_dest_path) 32 (module_file_name, module_path, module_dest_path))
33 sys.exit(1) 33 sys.exit(1)
34 34
35 def test_prepare_unexpected(self): 35 def test_prepare_unexpected(self):
@@ -66,8 +66,8 @@ if __name__ == '__main__':
66 unittest.TextTestRunner().run(suite) 66 unittest.TextTestRunner().run(suite)
67 else: 67 else:
68 progname = os.path.basename(sys.argv[0]) 68 progname = os.path.basename(sys.argv[0])
69 print "%s: missing directory path" % progname 69 print("%s: missing directory path" % progname)
70 print "usage: %s /path/to/directory-of(ext-sdk-prepare.py)" % progname 70 print("usage: %s /path/to/directory-of(ext-sdk-prepare.py)" % progname)
71 sys.exit(1) 71 sys.exit(1)
72else: 72else:
73 # running under oe-selftest 73 # running under oe-selftest