diff options
| -rw-r--r-- | meta/classes-recipe/testimage.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes-recipe/testimage.bbclass b/meta/classes-recipe/testimage.bbclass index 97ed4223c4..e090b1ef4b 100644 --- a/meta/classes-recipe/testimage.bbclass +++ b/meta/classes-recipe/testimage.bbclass | |||
| @@ -378,7 +378,6 @@ def testimage_main(d): | |||
| 378 | bb.error('runqemu failed, shutting down...') | 378 | bb.error('runqemu failed, shutting down...') |
| 379 | if results: | 379 | if results: |
| 380 | results.stop() | 380 | results.stop() |
| 381 | results = tc.results | ||
| 382 | finally: | 381 | finally: |
| 383 | signal.signal(signal.SIGTERM, orig_sigterm_handler) | 382 | signal.signal(signal.SIGTERM, orig_sigterm_handler) |
| 384 | tc.target.stop() | 383 | tc.target.stop() |
| @@ -400,7 +399,7 @@ def testimage_main(d): | |||
| 400 | 399 | ||
| 401 | if not results or not complete: | 400 | if not results or not complete: |
| 402 | bb.error('%s - FAILED - tests were interrupted during execution, check the logs in %s' % (pn, d.getVar("LOG_DIR")), forcelog=True) | 401 | bb.error('%s - FAILED - tests were interrupted during execution, check the logs in %s' % (pn, d.getVar("LOG_DIR")), forcelog=True) |
| 403 | if not results.wasSuccessful(): | 402 | if results and not results.wasSuccessful(): |
| 404 | bb.error('%s - FAILED - also check the logs in %s' % (pn, d.getVar("LOG_DIR")), forcelog=True) | 403 | bb.error('%s - FAILED - also check the logs in %s' % (pn, d.getVar("LOG_DIR")), forcelog=True) |
| 405 | 404 | ||
| 406 | def get_runtime_paths(d): | 405 | def get_runtime_paths(d): |
