summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/meta_ide.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 16:56:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-09 16:31:55 +0100
commitc7592b01478def091b6787412390c61e7ce0a0cd (patch)
tree3c2f26480c6e16fae0ad65b032e3dc0fccfca71b /meta/lib/oeqa/selftest/cases/meta_ide.py
parentc0dc72bad92e2e4dc0aedb48b969709f821baf73 (diff)
downloadpoky-c7592b01478def091b6787412390c61e7ce0a0cd.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: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8) 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.py4
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 @@
1from oeqa.selftest.case import OESelftestTestCase 1from oeqa.selftest.case import OESelftestTestCase
2from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject 2from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
3from oeqa.utils.commands import bitbake, get_bb_vars, runCmd 3from oeqa.utils.commands import bitbake, get_bb_vars, runCmd
4from oeqa.core.decorator.oeid import OETestID
5import tempfile 4import tempfile
6import shutil 5import 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,