summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2017-01-25 12:20:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-31 14:40:18 +0000
commitd928e5166d8812e7e20bc95c0a8b5cb5439ec497 (patch)
tree1f0bdbcac6fea9c4678667f73e869f7a581b7602
parenta54be23887cdc24a9b128be0913029fc8e63973d (diff)
downloadopenembedded-core-d928e5166d8812e7e20bc95c0a8b5cb5439ec497.tar.gz
openembedded-core-d928e5166d8812e7e20bc95c0a8b5cb5439ec497.tar.bz2
openembedded-core-d928e5166d8812e7e20bc95c0a8b5cb5439ec497.zip
runtime/cases/connman.py: Stop using oeRuntimeTest
oeRuntimeTest class is not used anymore as part of runtime migration, this particular case was missed, so fix it. [YOCTO #10964] Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oeqa/runtime/cases/connman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/connman.py b/meta/lib/oeqa/runtime/cases/connman.py
index 8b47108a37..12456b4172 100644
--- a/meta/lib/oeqa/runtime/cases/connman.py
+++ b/meta/lib/oeqa/runtime/cases/connman.py
@@ -6,7 +6,7 @@ from oeqa.runtime.decorator.package import OEHasPackage
class ConnmanTest(OERuntimeTestCase):
def service_status(self, service):
- if oeRuntimeTest.hasFeature("systemd"):
+ if 'systemd' in self.tc.td['DISTRO_FEATURES']:
(_, output) = self.target.run('systemctl status -l %s' % service)
return output
else: