tests: Mark kernel issues more clearly in the log file
It was previously not obvious from the <test case>.log file that a test case was marked failed based on kernel issues. Make this very clear to avoid wasting time on figuring out what caused the failure. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3f33b3ad8c
commit
bcbd74155e
1 changed files with 1 additions and 0 deletions
|
@ -342,6 +342,7 @@ def main():
|
||||||
|
|
||||||
if result == 'PASS' and args.dmesg:
|
if result == 'PASS' and args.dmesg:
|
||||||
if not check_kernel(os.path.join(args.logdir, name + '.dmesg')):
|
if not check_kernel(os.path.join(args.logdir, name + '.dmesg')):
|
||||||
|
logger.info("Kernel issue found in dmesg - mark test failed")
|
||||||
result = 'FAIL'
|
result = 'FAIL'
|
||||||
|
|
||||||
if result == 'PASS':
|
if result == 'PASS':
|
||||||
|
|
Loading…
Reference in a new issue