diff options
-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 ed82a56ae3..43a0abaec2 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -287,18 +287,12 @@ def testimage_main(d): | |||
287 | 287 | ||
288 | package_extraction(d, tc.suites) | 288 | package_extraction(d, tc.suites) |
289 | 289 | ||
290 | bootparams = None | ||
291 | if d.getVar('VIRTUAL-RUNTIME_init_manager', '') == 'systemd': | ||
292 | # Add systemd.log_level=debug to enable systemd debug logging | ||
293 | bootparams = 'systemd.log_target=console' | ||
294 | |||
295 | results = None | 290 | results = None |
296 | orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception) | 291 | orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception) |
297 | try: | 292 | try: |
298 | # We need to check if runqemu ends unexpectedly | 293 | # We need to check if runqemu ends unexpectedly |
299 | # or if the worker send us a SIGTERM | 294 | # or if the worker send us a SIGTERM |
300 | tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), | 295 | tc.target.start(params=d.getVar("TEST_QEMUPARAMS")) |
301 | extra_bootparams=bootparams) | ||
302 | results = tc.runTests() | 296 | results = tc.runTests() |
303 | except (RuntimeError, BlockingIOError) as err: | 297 | except (RuntimeError, BlockingIOError) as err: |
304 | if isinstance(err, RuntimeError): | 298 | if isinstance(err, RuntimeError): |