summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/stap.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/stap.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/stap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/stap.py b/meta/lib/oeqa/runtime/cases/stap.py
index fc728bfc55..cf4e19e117 100644
--- a/meta/lib/oeqa/runtime/cases/stap.py
+++ b/meta/lib/oeqa/runtime/cases/stap.py
@@ -4,6 +4,7 @@ from oeqa.runtime.case import OERuntimeTestCase
4from oeqa.core.decorator.depends import OETestDepends 4from oeqa.core.decorator.depends import OETestDepends
5from oeqa.core.decorator.oeid import OETestID 5from oeqa.core.decorator.oeid import OETestID
6from oeqa.core.decorator.data import skipIfNotFeature 6from oeqa.core.decorator.data import skipIfNotFeature
7from oeqa.runtime.decorator.package import OEHasPackage
7 8
8class StapTest(OERuntimeTestCase): 9class StapTest(OERuntimeTestCase):
9 10
@@ -22,6 +23,7 @@ class StapTest(OERuntimeTestCase):
22 @skipIfNotFeature('tools-profile', 23 @skipIfNotFeature('tools-profile',
23 'Test requires tools-profile to be in IMAGE_FEATURES') 24 'Test requires tools-profile to be in IMAGE_FEATURES')
24 @OETestDepends(['kernelmodule.KernelModuleTest.test_kernel_module']) 25 @OETestDepends(['kernelmodule.KernelModuleTest.test_kernel_module'])
26 @OEHasPackage(['systemtap'])
25 def test_stap(self): 27 def test_stap(self):
26 cmds = [ 28 cmds = [
27 'cd /usr/src/kernel && make scripts prepare', 29 'cd /usr/src/kernel && make scripts prepare',