summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/_qemutiny.py
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2017-03-30 15:18:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-01 08:14:57 +0100
commit739130370fd75c6cae434a60a2bec59e104e6a2b (patch)
tree4acfda4e90e01d8229fed0ed03dc6df3dd9cd76f /meta/lib/oeqa/runtime/cases/_qemutiny.py
parent34a7654689ca96ceb6fbe0753d650270189710eb (diff)
downloadpoky-739130370fd75c6cae434a60a2bec59e104e6a2b.tar.gz
oeqa/runtime/cases: Migrate underscore cases
There were two missing cases to be migrated to the new framework: _qemutiny and _ptest. qemutiny was straightforward. ptest on the other hand wasn't working even in previous releases; it has been migrated from smart to dnf, and how ptest packages are gathered to be installed, adapted to use unicode, and removed a lot of code that wasn't needed anymore. (From OE-Core rev: ee7c19546b686e852d01df25143504d9798d10d6) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/_qemutiny.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/_qemutiny.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/lib/oeqa/runtime/cases/_qemutiny.py b/meta/lib/oeqa/runtime/cases/_qemutiny.py
index a3c29f3572..7b5b48141f 100644
--- a/meta/lib/oeqa/runtime/cases/_qemutiny.py
+++ b/meta/lib/oeqa/runtime/cases/_qemutiny.py
@@ -1,9 +1,8 @@
1import unittest 1from oeqa.runtime.case import OERuntimeTestCase
2from oeqa.oetest import oeRuntimeTest
3from oeqa.utils.qemutinyrunner import *
4 2
5class QemuTinyTest(oeRuntimeTest): 3class QemuTinyTest(OERuntimeTestCase):
6 4
7 def test_boot_tiny(self): 5 def test_boot_tiny(self):
8 (status, output) = self.target.run_serial('uname -a') 6 status, output = self.target.run_serial('uname -a')
9 self.assertTrue("yocto-tiny" in output, msg="Cannot detect poky tiny boot!") \ No newline at end of file 7 msg = "Cannot detect poky tiny boot!"
8 self.assertTrue("yocto-tiny" in output, msg)