Commits

Benjamin Peterson committed 649967f

ignore platform:ERROR things

  • Participants
  • Parent commits ed5af9f
  • Branches fast-forward

Comments (0)

Files changed (1)

File lib-python/conftest.py

 import py
 import sys
 import pypy
+import re
 from pypy.interpreter.gateway import ApplevelClass 
 from pypy.interpreter.error import OperationError
 from pypy.interpreter.module import Module as PyPyModule 
                     outcome = 'ERROUT' 
                     test_stderr += ("-" * 80 + "\n") + out
             else:
-                if 'FAIL' in test_stdout or 'ERROR' in test_stderr:
+                if 'FAIL' in test_stdout or re.search('[^:]ERROR', test_stderr):
                     outcome = 'FAIL'
                     exit_status = 2  
         elif timedout: