summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-23 12:32:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-24 22:01:03 +0000
commit4e7d13232a97f18fc99f96081292aec3ea3a5d94 (patch)
tree7cc7e403724662c2dc8080b43c6660e55e7dac49 /meta
parent25f1f4644d736108737846022231d21952e90d84 (diff)
downloadpoky-4e7d13232a97f18fc99f96081292aec3ea3a5d94.tar.gz
oeqa/selftest/tinfoil: Drop test for functionality removed upstream
bitbake dropped support for this piece of functionality (the test was the only user), drop the test too. (From OE-Core rev: 9ba0708e34eb038dc3ea5a877a5837c534cf165f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/cases/tinfoil.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py b/meta/lib/oeqa/selftest/cases/tinfoil.py
index 42a1b6b4f4..d1aa7b9afd 100644
--- a/meta/lib/oeqa/selftest/cases/tinfoil.py
+++ b/meta/lib/oeqa/selftest/cases/tinfoil.py
@@ -65,19 +65,6 @@ class TinfoilTests(OESelftestTestCase):
65 localdata.setVar('PN', 'hello') 65 localdata.setVar('PN', 'hello')
66 self.assertEqual('hello', localdata.getVar('BPN')) 66 self.assertEqual('hello', localdata.getVar('BPN'))
67 67
68 def test_parse_recipe_initial_datastore(self):
69 with bb.tinfoil.Tinfoil() as tinfoil:
70 tinfoil.prepare(config_only=False, quiet=2)
71 testrecipe = 'mdadm'
72 best = tinfoil.find_best_provider(testrecipe)
73 if not best:
74 self.fail('Unable to find recipe providing %s' % testrecipe)
75 dcopy = bb.data.createCopy(tinfoil.config_data)
76 dcopy.setVar('MYVARIABLE', 'somevalue')
77 rd = tinfoil.parse_recipe_file(best[3], config_data=dcopy)
78 # Check we can get variable values
79 self.assertEqual('somevalue', rd.getVar('MYVARIABLE'))
80
81 def test_list_recipes(self): 68 def test_list_recipes(self):
82 with bb.tinfoil.Tinfoil() as tinfoil: 69 with bb.tinfoil.Tinfoil() as tinfoil:
83 tinfoil.prepare(config_only=False, quiet=2) 70 tinfoil.prepare(config_only=False, quiet=2)