diff options
Diffstat (limited to 'yocto-poky/meta/lib/oeqa/sdkext/devtool.py')
-rw-r--r-- | yocto-poky/meta/lib/oeqa/sdkext/devtool.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/yocto-poky/meta/lib/oeqa/sdkext/devtool.py b/yocto-poky/meta/lib/oeqa/sdkext/devtool.py deleted file mode 100644 index c5bb3102a..000000000 --- a/yocto-poky/meta/lib/oeqa/sdkext/devtool.py +++ /dev/null @@ -1,32 +0,0 @@ -import shutil - -from oeqa.oetest import oeSDKExtTest -from oeqa.utils.decorators import * - -class DevtoolTest(oeSDKExtTest): - - @classmethod - def setUpClass(self): - self.myapp_src = os.path.join(self.tc.sdkextfilesdir, "myapp") - self.myapp_dst = os.path.join(self.tc.sdktestdir, "myapp") - shutil.copytree(self.myapp_src, self.myapp_dst) - - def test_devtool_location(self): - output = self._run('which devtool') - self.assertEqual(output.startswith(self.tc.sdktestdir), True, \ - msg="Seems that devtool isn't the eSDK one: %s" % output) - - @skipUnlessPassed('test_devtool_location') - def test_devtool_add_reset(self): - self._run('devtool add myapp %s' % self.myapp_dst) - self._run('devtool reset myapp') - - @skipUnlessPassed('test_devtool_location') - def test_devtool_build(self): - self._run('devtool add myapp %s' % self.myapp_dst) - self._run('devtool build myapp') - self._run('devtool reset myapp') - - @classmethod - def tearDownClass(self): - shutil.rmtree(self.myapp_dst) |