]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/systemd.py: skip instead of failing without avahi
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 9 Apr 2015 09:24:23 +0000 (02:24 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Apr 2015 18:48:01 +0000 (19:48 +0100)
commitca23337d517cfdb7119e5fd8bd9a9a663ae135de
treea760f6e71d60014ac6446cb8b13638abcc75c778
parent4b6f87a82ece230b7296f1577d4092ef559af1d4
oeqa/runtime/systemd.py: skip instead of failing without avahi

The SystemdServiceTests assume that avahi-daemon is installed,
which is not necessarily the case depending on the image being
tested.

Better check this dependency before starting the tests and skip
them if the service is not installed. This has to be done for
each test instead of for the entire module, because other
tests in the module can run without avavi.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/systemd.py