tests: Mark kernel issues more clearly in the log file
authorJouni Malinen <j@w1.fi>
Fri, 27 Dec 2013 09:04:38 +0000 (11:04 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 27 Dec 2013 16:11:07 +0000 (18:11 +0200)
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>

tests/hwsim/run-tests.py

index d4097f6..5802a31 100755 (executable)
@@ -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':