harness: Handle assertion failure case for compiler-rt tests which default to pass
authorSimon Gerber <simon.gerber@inf.ethz.ch>
Tue, 23 Aug 2016 18:22:05 +0000 (20:22 +0200)
committerSimon Gerber <simon.gerber@inf.ethz.ch>
Tue, 23 Aug 2016 18:22:05 +0000 (20:22 +0200)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

tools/harness/tests/compiler-rt_builtins.py

index 3a529c4..597821b 100644 (file)
@@ -22,6 +22,8 @@ class CompilerRTBuiltinsAbstract(TestCommon):
         for line in rawiter:
             if "error in" in line:
                 errors.append(line)
+            if line.startswith("Assertion failed on core"):
+                errors.append(line)
 
         return PassFailMultiResult(self.name, errors)