Browse Source

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>
Jouni Malinen 11 years ago
parent
commit
bcbd74155e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/hwsim/run-tests.py

+ 1 - 0
tests/hwsim/run-tests.py

@@ -342,6 +342,7 @@ def main():
 
         if result == 'PASS' and args.dmesg:
             if not check_kernel(os.path.join(args.logdir, name + '.dmesg')):
+                logger.info("Kernel issue found in dmesg - mark test failed")
                 result = 'FAIL'
 
         if result == 'PASS':