diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/stap.py')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/stap.py | 2 |
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 96e197a2d6..747c1d9517 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 | |||
4 | from oeqa.core.decorator.depends import OETestDepends | 4 | from oeqa.core.decorator.depends import OETestDepends |
5 | from oeqa.core.decorator.oeid import OETestID | 5 | from oeqa.core.decorator.oeid import OETestID |
6 | from oeqa.core.decorator.data import skipIfNotFeature | 6 | from oeqa.core.decorator.data import skipIfNotFeature |
7 | from oeqa.runtime.decorator.package import OEHasPackage | ||
7 | 8 | ||
8 | class StapTest(OERuntimeTestCase): | 9 | class 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', |