From 739130370fd75c6cae434a60a2bec59e104e6a2b Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Thu, 30 Mar 2017 15:18:14 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/_qemutiny.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'meta/lib/oeqa/runtime/cases/_qemutiny.py') 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) -- cgit v1.2.3-54-g00ecf