sanitycheck: capture delayed faults

Do not close console after PASS is reported, wait a bit for any
remaining messages from the tests, sometimes we have faults that need to
be parsed.
This now works for Qemu handler, support for other handlers to follow.

Fixes #9646

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-08-29 01:45:38 -04:00
commit 39ae72b4cb
2 changed files with 19 additions and 4 deletions

View file

@ -64,7 +64,8 @@ class Test(Harness):
"MPU FAULT",
"Kernel Panic",
"Kernel OOPS",
"BUS FAULT"
"BUS FAULT",
"CPU Page Fault"
]
def handle(self, line):