summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdkext
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/sdkext')
-rw-r--r--meta/lib/oeqa/sdkext/devtool.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdkext/devtool.py b/meta/lib/oeqa/sdkext/devtool.py
index 0262ed30fa..c5bb3102a6 100644
--- a/meta/lib/oeqa/sdkext/devtool.py
+++ b/meta/lib/oeqa/sdkext/devtool.py
@@ -11,10 +11,17 @@ class DevtoolTest(oeSDKExtTest):
11 self.myapp_dst = os.path.join(self.tc.sdktestdir, "myapp") 11 self.myapp_dst = os.path.join(self.tc.sdktestdir, "myapp")
12 shutil.copytree(self.myapp_src, self.myapp_dst) 12 shutil.copytree(self.myapp_src, self.myapp_dst)
13 13
14 def test_devtool_location(self):
15 output = self._run('which devtool')
16 self.assertEqual(output.startswith(self.tc.sdktestdir), True, \
17 msg="Seems that devtool isn't the eSDK one: %s" % output)
18
19 @skipUnlessPassed('test_devtool_location')
14 def test_devtool_add_reset(self): 20 def test_devtool_add_reset(self):
15 self._run('devtool add myapp %s' % self.myapp_dst) 21 self._run('devtool add myapp %s' % self.myapp_dst)
16 self._run('devtool reset myapp') 22 self._run('devtool reset myapp')
17 23
24 @skipUnlessPassed('test_devtool_location')
18 def test_devtool_build(self): 25 def test_devtool_build(self):
19 self._run('devtool add myapp %s' % self.myapp_dst) 26 self._run('devtool add myapp %s' % self.myapp_dst)
20 self._run('devtool build myapp') 27 self._run('devtool build myapp')