diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-09-05 20:53:14 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-09-05 20:53:14 +0000 |
commit | f245f562178d357dffcb399bbc644b8f7646df11 (patch) | |
tree | ee915d20f495f5f39cc3a5d260b046abb63a78c2 | |
parent | 93f7b5699b913f5a09f89d338d94c2051fd6e259 (diff) | |
download | bcm5719-llvm-f245f562178d357dffcb399bbc644b8f7646df11.tar.gz bcm5719-llvm-f245f562178d357dffcb399bbc644b8f7646df11.zip |
[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
-rw-r--r-- | llvm/utils/lit/lit/formats/googletest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/lit/lit/formats/googletest.py b/llvm/utils/lit/lit/formats/googletest.py index 0cfe964d655..0dde12efa53 100644 --- a/llvm/utils/lit/lit/formats/googletest.py +++ b/llvm/utils/lit/lit/formats/googletest.py @@ -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 = [] |