mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 22:50:57 +00:00
oeqa/runtime/cases/rpm.py: skip if rpm not available
This test case should only run when rpm package is installed. So skip it if rpm package is not installed. This fixes: RESULTS - rpm.RpmBasicTest.test_rpm_help - Testcase 1059: FAILED (From OE-Core rev: bb909a60c04248d015d988e4454f0a11b1c287da) (From OE-Core rev: 520c375d49df29453213c3cd4e2155e80e27a0ca) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d83cda97df
commit
6af590bd29
@ -16,6 +16,7 @@ class RpmBasicTest(OERuntimeTestCase):
|
||||
cls.skipTest('Tests require image to be build from rpm')
|
||||
|
||||
@OETestID(960)
|
||||
@OEHasPackage(['rpm'])
|
||||
@OETestDepends(['ssh.SSHTest.test_ssh'])
|
||||
def test_rpm_help(self):
|
||||
status, output = self.target.run('rpm --help')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user