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