diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/testimage.bbclass | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 20dbe8ddd7..e01ceedf61 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -284,18 +284,12 @@ def testimage_main(d): | |||
284 | 284 | ||
285 | package_extraction(d, tc.suites) | 285 | package_extraction(d, tc.suites) |
286 | 286 | ||
287 | bootparams = None | ||
288 | if d.getVar('VIRTUAL-RUNTIME_init_manager', '') == 'systemd': | ||
289 | # Add systemd.log_level=debug to enable systemd debug logging | ||
290 | bootparams = 'systemd.log_target=console' | ||
291 | |||
292 | results = None | 287 | results = None |
293 | orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception) | 288 | orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception) |
294 | try: | 289 | try: |
295 | # We need to check if runqemu ends unexpectedly | 290 | # We need to check if runqemu ends unexpectedly |
296 | # or if the worker send us a SIGTERM | 291 | # or if the worker send us a SIGTERM |
297 | tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), | 292 | tc.target.start(params=d.getVar("TEST_QEMUPARAMS")) |
298 | extra_bootparams=bootparams) | ||
299 | results = tc.runTests() | 293 | results = tc.runTests() |
300 | except (RuntimeError, BlockingIOError) as err: | 294 | except (RuntimeError, BlockingIOError) as err: |
301 | if isinstance(err, RuntimeError): | 295 | if isinstance(err, RuntimeError): |