1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[lit] Downgrade error to warning on gtest crashes during discovery.

Lots of unittests started failing under asan after r280455.  It seems
they've been failing for a long time, but lit silently ignored them.

Downgrade the error so we can figure out what is going on.
Filed http://llvm.org/PR30285.

llvm-svn: 280674
This commit is contained in:
Ahmed Bougacha 2016-09-05 20:53:14 +00:00
parent e5f780472a
commit 839e711a0e

View File

@ -37,8 +37,8 @@ class GoogleTest(TestFormat):
lines = lines.split('\n')
except Exception as exc:
out = exc.output if isinstance(exc, subprocess.CalledProcessError) else ''
litConfig.error("unable to discover google-tests in %r: %s. Process output: %s"
% (path, sys.exc_info()[1], out))
litConfig.warning("unable to discover google-tests in %r: %s. Process output: %s"
% (path, sys.exc_info()[1], out))
raise StopIteration
nested_tests = []