diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2017-03-30 15:18:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-01 08:14:57 +0100 |
commit | 739130370fd75c6cae434a60a2bec59e104e6a2b (patch) | |
tree | 4acfda4e90e01d8229fed0ed03dc6df3dd9cd76f /meta/lib/oeqa/runtime/cases/_qemutiny.py | |
parent | 34a7654689ca96ceb6fbe0753d650270189710eb (diff) | |
download | poky-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.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 @@ | |||
1 | import unittest | 1 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.oetest import oeRuntimeTest | ||
3 | from oeqa.utils.qemutinyrunner import * | ||
4 | 2 | ||
5 | class QemuTinyTest(oeRuntimeTest): | 3 | class 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) | ||