diff options
author | 2017-03-30 15:18:14 -0700 | |
---|---|---|
committer | 2017-03-31 12:09:33 +0100 | |
commit | ee7c19546b686e852d01df25143504d9798d10d6 (patch) | |
tree | b10b9f1a67bffaa804e135152954dd196829bda1 /meta/lib/oeqa/runtime/cases/_qemutiny.py | |
parent | cffc3a88608bd295eb1220fadae56eb4676414df (diff) | |
download | openembedded-core-contrib-ee7c19546b686e852d01df25143504d9798d10d6.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.
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.py | 11 |
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 @@ -import unittest -from oeqa.oetest import oeRuntimeTest -from oeqa.utils.qemutinyrunner import * +from oeqa.runtime.case import OERuntimeTestCase -class QemuTinyTest(oeRuntimeTest): +class QemuTinyTest(OERuntimeTestCase): def test_boot_tiny(self): - (status, output) = self.target.run_serial('uname -a') - self.assertTrue("yocto-tiny" in output, msg="Cannot detect poky tiny boot!")
\ No newline at end of file + status, output = self.target.run_serial('uname -a') + msg = "Cannot detect poky tiny boot!" + self.assertTrue("yocto-tiny" in output, msg) |