diff options
| author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2017-01-25 12:20:04 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 14:43:01 +0000 |
| commit | 45ef4ef2c4de59e050cce2dc195f2f5b243eac86 (patch) | |
| tree | f2fbe93c573fa93508cb623cd6a3cde4e7a37af7 | |
| parent | 1f7c9094f703c234c9bef6090b958dbe28ec7374 (diff) | |
| download | poky-45ef4ef2c4de59e050cce2dc195f2f5b243eac86.tar.gz | |
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]
(From OE-Core rev: d928e5166d8812e7e20bc95c0a8b5cb5439ec497)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/connman.py | 2 |
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 | |||
| 6 | class ConnmanTest(OERuntimeTestCase): | 6 | class ConnmanTest(OERuntimeTestCase): |
| 7 | 7 | ||
| 8 | def service_status(self, service): | 8 | def service_status(self, service): |
| 9 | if oeRuntimeTest.hasFeature("systemd"): | 9 | if 'systemd' in self.tc.td['DISTRO_FEATURES']: |
| 10 | (_, output) = self.target.run('systemctl status -l %s' % service) | 10 | (_, output) = self.target.run('systemctl status -l %s' % service) |
| 11 | return output | 11 | return output |
| 12 | else: | 12 | else: |
