]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa: fix dnf tests
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 15 Aug 2017 11:34:55 +0000 (14:34 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2017 23:02:01 +0000 (00:02 +0100)
Rename one dnf runtime test that it will recognized as a python module
and thus also found by the oe test loader. Also, fix value of
TEST_SUITES in dnf selftest so that all test dependencies are satisfied
and the runtime test may be successfully run from there.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py [moved from meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py with 100% similarity]
meta/lib/oeqa/selftest/cases/runtime_test.py

index 72f906deea2b9d55b27ef2d34ee5a8232d2f7597..27cf584ea5d03075b1419b670f35537e6012d893 100644 (file)
@@ -138,7 +138,7 @@ class TestImage(OESelftestTestCase):
             self.skipTest('core-image-full-cmdline not buildable for poky-tiny')
 
         features = 'INHERIT += "testimage"\n'
-        features += 'TEST_SUITES = "ping ssh dnf-runtime"\n'
+        features += 'TEST_SUITES = "ping ssh dnf_runtime dnf.DnfBasicTest.test_dnf_help"\n'
         # We don't yet know what the server ip and port will be - they will be patched
         # in at the start of the on-image test
         features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'