summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-08-15 14:34:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-16 00:03:15 +0100
commit05361f9a4f2cdf956fd29ccb38e41de8d5a0241d (patch)
treedb98f2ce4131cb692a55811afc884a9ede216ec2
parentefcecc318bc67212fd112deed45834f71038f957 (diff)
downloadpoky-05361f9a4f2cdf956fd29ccb38e41de8d5a0241d.tar.gz
oeqa: fix dnf tests
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. (From OE-Core rev: ee3be65aa1348798d385ead9b80c6a6ada21d6b0) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py (renamed from meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py)0
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
index 123e7259f1..123e7259f1 100644
--- a/meta-selftest/lib/oeqa/runtime/cases/dnf-runtime.py
+++ b/meta-selftest/lib/oeqa/runtime/cases/dnf_runtime.py
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 72f906deea..27cf584ea5 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -138,7 +138,7 @@ class TestImage(OESelftestTestCase):
138 self.skipTest('core-image-full-cmdline not buildable for poky-tiny') 138 self.skipTest('core-image-full-cmdline not buildable for poky-tiny')
139 139
140 features = 'INHERIT += "testimage"\n' 140 features = 'INHERIT += "testimage"\n'
141 features += 'TEST_SUITES = "ping ssh dnf-runtime"\n' 141 features += 'TEST_SUITES = "ping ssh dnf_runtime dnf.DnfBasicTest.test_dnf_help"\n'
142 # We don't yet know what the server ip and port will be - they will be patched 142 # We don't yet know what the server ip and port will be - they will be patched
143 # in at the start of the on-image test 143 # in at the start of the on-image test
144 features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n' 144 features += 'PACKAGE_FEED_URIS = "http://bogus_ip:bogus_port"\n'