summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/stap.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-09 09:55:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-13 15:18:28 +0000
commit9f64e6c25abdf494fb511e9cd401f8dcaa08be2a (patch)
tree38e94c9b443ed5514285c79e5d03de0d2d970616 /meta/lib/oeqa/runtime/cases/stap.py
parent4966bc33845752eb0aeae54b72e8ba0146a7ed52 (diff)
downloadopenembedded-core-contrib-9f64e6c25abdf494fb511e9cd401f8dcaa08be2a.tar.gz
oeqa/runtime/cases: Improve dependencies of kernel/gcc/build tests
Mark up these tests as needing a compiler, make and kernel source code as appropriate, the image feature requirements can then be retired. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/stap.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/stap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/stap.py b/meta/lib/oeqa/runtime/cases/stap.py
index 747c1d9517..c492caffd6 100644
--- a/meta/lib/oeqa/runtime/cases/stap.py
+++ b/meta/lib/oeqa/runtime/cases/stap.py
@@ -9,13 +9,13 @@ from oeqa.runtime.decorator.package import OEHasPackage
class StapTest(OERuntimeTestCase):
@classmethod
- def setUpClass(cls):
+ def setUp(cls):
src = os.path.join(cls.tc.runtime_files_dir, 'hello.stp')
dst = '/tmp/hello.stp'
cls.tc.target.copyTo(src, dst)
@classmethod
- def tearDownClass(cls):
+ def tearDown(cls):
files = '/tmp/hello.stp'
cls.tc.target.run('rm %s' % files)