diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 16:56:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-20 14:38:16 +0100 |
commit | 10e1b48a9e2d726229a0245339bf7be21ad9ca53 (patch) | |
tree | fc1e31a00d193490e4b5b65f9af04372a6e57693 /meta/lib/oeqa/selftest/cases/meta_ide.py | |
parent | 64fa42868df98dd87fb1f5ad74977ac833936cb5 (diff) | |
download | poky-10e1b48a9e2d726229a0245339bf7be21ad9ca53.tar.gz |
oeqa: Drop OETestID
These IDs refer to testopia which we're no longer using. We would now use the test
names to definitively reference tests and the IDs can be dropped, along with their
supporting code.
(From OE-Core rev: 551153b0bd1ebbc05582f6014e3d88b9ce4a46d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backported to keep in-sync with future qa changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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, |