diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/meta_ide.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/meta_ide.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/cases/meta_ide.py b/meta/lib/oeqa/selftest/cases/meta_ide.py index 5df9d3ed93..76cbac3c77 100644 --- a/meta/lib/oeqa/selftest/cases/meta_ide.py +++ b/meta/lib/oeqa/selftest/cases/meta_ide.py | |||
@@ -1,7 +1,6 @@ | |||
1 | from oeqa.selftest.case import OESelftestTestCase | 1 | from oeqa.selftest.case import OESelftestTestCase |
2 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject | 2 | from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject |
3 | from oeqa.utils.commands import bitbake, get_bb_vars, runCmd | 3 | from oeqa.utils.commands import bitbake, get_bb_vars, runCmd |
4 | from oeqa.core.decorator.oeid import OETestID | ||
5 | import tempfile | 4 | import tempfile |
6 | import shutil | 5 | import shutil |
7 | 6 | ||
@@ -23,18 +22,15 @@ class MetaIDE(OESelftestTestCase): | |||
23 | shutil.rmtree(cls.tmpdir_metaideQA, ignore_errors=True) | 22 | shutil.rmtree(cls.tmpdir_metaideQA, ignore_errors=True) |
24 | super(MetaIDE, cls).tearDownClass() | 23 | super(MetaIDE, cls).tearDownClass() |
25 | 24 | ||
26 | @OETestID(1982) | ||
27 | def test_meta_ide_had_installed_meta_ide_support(self): | 25 | def test_meta_ide_had_installed_meta_ide_support(self): |
28 | self.assertExists(self.environment_script_path) | 26 | self.assertExists(self.environment_script_path) |
29 | 27 | ||
30 | @OETestID(1983) | ||
31 | def test_meta_ide_can_compile_c_program(self): | 28 | def test_meta_ide_can_compile_c_program(self): |
32 | runCmd('cp %s/test.c %s' % (self.tc.files_dir, self.tmpdir_metaideQA)) | 29 | runCmd('cp %s/test.c %s' % (self.tc.files_dir, self.tmpdir_metaideQA)) |
33 | runCmd("cd %s; . %s; $CC test.c -lm" % (self.tmpdir_metaideQA, self.environment_script_path)) | 30 | runCmd("cd %s; . %s; $CC test.c -lm" % (self.tmpdir_metaideQA, self.environment_script_path)) |
34 | compiled_file = '%s/a.out' % self.tmpdir_metaideQA | 31 | compiled_file = '%s/a.out' % self.tmpdir_metaideQA |
35 | self.assertExists(compiled_file) | 32 | self.assertExists(compiled_file) |
36 | 33 | ||
37 | @OETestID(1984) | ||
38 | def test_meta_ide_can_build_cpio_project(self): | 34 | def test_meta_ide_can_build_cpio_project(self): |
39 | dl_dir = self.td.get('DL_DIR', None) | 35 | dl_dir = self.td.get('DL_DIR', None) |
40 | self.project = SDKBuildProject(self.tmpdir_metaideQA + "/cpio/", self.environment_script_path, | 36 | self.project = SDKBuildProject(self.tmpdir_metaideQA + "/cpio/", self.environment_script_path, |