diff options
Diffstat (limited to 'lib/oeqa')
-rw-r--r-- | lib/oeqa/selftest/updater.py | 14 |
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 | ||
218 | class ImplProvTests(oeSelfTest): | 218 | class 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 | ||
295 | class HsmTests(oeSelfTest): | 290 | class 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): |