summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/runtime_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/runtime_test.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 642f0eb637..7b7371b6e0 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -4,16 +4,15 @@
4 4
5from oeqa.selftest.case import OESelftestTestCase 5from oeqa.selftest.case import OESelftestTestCase
6from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu 6from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars, runqemu
7from oeqa.utils.sshcontrol import SSHControl 7from oeqa.core.decorator import OETestTag
8import os 8import os
9import re
10import tempfile 9import tempfile
11import shutil
12import oe.lsb 10import oe.lsb
13from oeqa.core.decorator.data import skipIfNotQemu 11from oeqa.core.decorator.data import skipIfNotQemu
14 12
15class TestExport(OESelftestTestCase): 13class TestExport(OESelftestTestCase):
16 14
15 @OETestTag("runqemu")
17 def test_testexport_basic(self): 16 def test_testexport_basic(self):
18 """ 17 """
19 Summary: Check basic testexport functionality with only ping test enabled. 18 Summary: Check basic testexport functionality with only ping test enabled.
@@ -106,6 +105,7 @@ class TestExport(OESelftestTestCase):
106 self.assertEqual(0, result.status, "Couldn't run tar from SDK") 105 self.assertEqual(0, result.status, "Couldn't run tar from SDK")
107 106
108 107
108@OETestTag("runqemu")
109class TestImage(OESelftestTestCase): 109class TestImage(OESelftestTestCase):
110 110
111 def test_testimage_install(self): 111 def test_testimage_install(self):
@@ -240,6 +240,7 @@ class TestImage(OESelftestTestCase):
240 bitbake('core-image-minimal') 240 bitbake('core-image-minimal')
241 bitbake('-c testimage core-image-minimal') 241 bitbake('-c testimage core-image-minimal')
242 242
243@OETestTag("runqemu")
243class Postinst(OESelftestTestCase): 244class Postinst(OESelftestTestCase):
244 245
245 def init_manager_loop(self, init_manager): 246 def init_manager_loop(self, init_manager):
@@ -357,6 +358,7 @@ class Postinst(OESelftestTestCase):
357 self.assertFalse(os.path.isfile(os.path.join(hosttestdir, "rootfs-after-failure")), 358 self.assertFalse(os.path.isfile(os.path.join(hosttestdir, "rootfs-after-failure")),
358 "rootfs-after-failure file was created") 359 "rootfs-after-failure file was created")
359 360
361@OETestTag("runqemu")
360class SystemTap(OESelftestTestCase): 362class SystemTap(OESelftestTestCase):
361 """ 363 """
362 Summary: The purpose of this test case is to verify native crosstap 364 Summary: The purpose of this test case is to verify native crosstap
@@ -433,4 +435,3 @@ IMAGE_INSTALL:append = " systemtap-runtime"
433 cmd = "crosstap -r root@192.168.7.2 -s %s/process/ syscalls_by_pid.stp" % systemtap_examples 435 cmd = "crosstap -r root@192.168.7.2 -s %s/process/ syscalls_by_pid.stp" % systemtap_examples
434 result = runCmd(cmd) 436 result = runCmd(cmd)
435 self.assertEqual(0, result.status, 'crosstap syscalls_by_pid returned a non 0 status:%s' % result.output) 437 self.assertEqual(0, result.status, 'crosstap syscalls_by_pid returned a non 0 status:%s' % result.output)
436