blob: 816fd4a7cb542030ec3fd4514be169b22d4b39ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.runtime.case import OERuntimeTestCase
from oeqa.core.target.qemu import OEQemuTarget
class QemuTinyTest(OERuntimeTestCase):
def test_boot_tiny(self):
# Until the target has explicit run_serial support, check that the
# target is the qemu runner
if isinstance(self.target, OEQemuTarget):
status, output = self.target.runner.run_serial('uname -a')
self.assertIn("Linux", output)
else:
self.skipTest("Target %s is not OEQemuTarget" % self.target)
|