diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index dcdef5a14b..0a44ae71c8 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -823,10 +823,10 @@ class DevtoolTests(DevtoolBase): | |||
823 | tempdir = tempfile.mkdtemp(prefix='devtoolqa') | 823 | tempdir = tempfile.mkdtemp(prefix='devtoolqa') |
824 | # Try devtool extract | 824 | # Try devtool extract |
825 | self.track_for_cleanup(tempdir) | 825 | self.track_for_cleanup(tempdir) |
826 | self.track_for_cleanup(self.workspacedir) | ||
827 | self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') | ||
828 | result = runCmd('devtool extract remake %s' % tempdir) | 826 | result = runCmd('devtool extract remake %s' % tempdir) |
829 | self.assertTrue(os.path.exists(os.path.join(tempdir, 'Makefile.am')), 'Extracted source could not be found') | 827 | self.assertTrue(os.path.exists(os.path.join(tempdir, 'Makefile.am')), 'Extracted source could not be found') |
828 | # devtool extract shouldn't create the workspace | ||
829 | self.assertFalse(os.path.exists(self.workspacedir)) | ||
830 | self._check_src_repo(tempdir) | 830 | self._check_src_repo(tempdir) |
831 | 831 | ||
832 | @testcase(1379) | 832 | @testcase(1379) |
@@ -834,10 +834,10 @@ class DevtoolTests(DevtoolBase): | |||
834 | tempdir = tempfile.mkdtemp(prefix='devtoolqa') | 834 | tempdir = tempfile.mkdtemp(prefix='devtoolqa') |
835 | # Try devtool extract | 835 | # Try devtool extract |
836 | self.track_for_cleanup(tempdir) | 836 | self.track_for_cleanup(tempdir) |
837 | self.track_for_cleanup(self.workspacedir) | ||
838 | self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') | ||
839 | result = runCmd('devtool extract virtual/libx11 %s' % tempdir) | 837 | result = runCmd('devtool extract virtual/libx11 %s' % tempdir) |
840 | self.assertTrue(os.path.exists(os.path.join(tempdir, 'Makefile.am')), 'Extracted source could not be found') | 838 | self.assertTrue(os.path.exists(os.path.join(tempdir, 'Makefile.am')), 'Extracted source could not be found') |
839 | # devtool extract shouldn't create the workspace | ||
840 | self.assertFalse(os.path.exists(self.workspacedir)) | ||
841 | self._check_src_repo(tempdir) | 841 | self._check_src_repo(tempdir) |
842 | 842 | ||
843 | @testcase(1168) | 843 | @testcase(1168) |