summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2018-02-21 16:04:52 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2018-02-27 13:25:58 +0100
commit372b3f72ae6113a450f40288f884e3a5b97c6206 (patch)
tree3c900d7d516c61757fa7192c87bdb25fb61d21b6 /lib
parent5c70505c127e58aa14c25599c6c7405e77e4c360 (diff)
downloadmeta-updater-372b3f72ae6113a450f40288f884e3a5b97c6206.tar.gz
Less redundant bitbaking in oe-selftest
Diffstat (limited to 'lib')
-rw-r--r--lib/oeqa/selftest/updater.py14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/oeqa/selftest/updater.py b/lib/oeqa/selftest/updater.py
index f237364..69d8eb7 100644
--- a/lib/oeqa/selftest/updater.py
+++ b/lib/oeqa/selftest/updater.py
@@ -217,14 +217,9 @@ class GrubTests(oeSelfTest):
217 217
218class ImplProvTests(oeSelfTest): 218class ImplProvTests(oeSelfTest):
219 219
220 @classmethod
221 def setUpClass(cls):
222 logger = logging.getLogger("selftest")
223 logger.info('Running bitbake to build aktualizr-native tools')
224 bitbake('aktualizr-native')
225
226 def setUpLocal(self): 220 def setUpLocal(self):
227 self.append_config('SOTA_CLIENT_PROV = " aktualizr-implicit-prov "') 221 self.append_config('SOTA_CLIENT_PROV = " aktualizr-implicit-prov "')
222 # note: this will build aktualizr-native as a side-effect
228 self.qemu, self.s = qemu_launch(machine='qemux86-64') 223 self.qemu, self.s = qemu_launch(machine='qemux86-64')
229 224
230 def tearDownLocal(self): 225 def tearDownLocal(self):
@@ -294,15 +289,10 @@ class ImplProvTests(oeSelfTest):
294 289
295class HsmTests(oeSelfTest): 290class HsmTests(oeSelfTest):
296 291
297 @classmethod
298 def setUpClass(cls):
299 logger = logging.getLogger("selftest")
300 logger.info('Running bitbake to build aktualizr-native tools')
301 bitbake('aktualizr-native')
302
303 def setUpLocal(self): 292 def setUpLocal(self):
304 self.append_config('SOTA_CLIENT_PROV = "aktualizr-hsm-prov"') 293 self.append_config('SOTA_CLIENT_PROV = "aktualizr-hsm-prov"')
305 self.append_config('SOTA_CLIENT_FEATURES = "hsm"') 294 self.append_config('SOTA_CLIENT_FEATURES = "hsm"')
295 # note: this will build aktualizr-native as a side-effect
306 self.qemu, self.s = qemu_launch(machine='qemux86-64') 296 self.qemu, self.s = qemu_launch(machine='qemux86-64')
307 297
308 def tearDownLocal(self): 298 def tearDownLocal(self):