diff options
Diffstat (limited to 'main/llvm5/fix-too-strict-gtest-banner-check.patch')
-rw-r--r-- | main/llvm5/fix-too-strict-gtest-banner-check.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/llvm5/fix-too-strict-gtest-banner-check.patch b/main/llvm5/fix-too-strict-gtest-banner-check.patch new file mode 100644 index 0000000000..412888e420 --- /dev/null +++ b/main/llvm5/fix-too-strict-gtest-banner-check.patch @@ -0,0 +1,11 @@ +--- a/utils/lit/lit/formats/googletest.py ++++ b/utils/lit/lit/formats/googletest.py +@@ -42,7 +42,7 @@ + for ln in output.splitlines(False): # Don't keep newlines. + ln = lit.util.to_string(ln) + +- if 'Running main() from gtest_main.cc' in ln: ++ if ln.startswith('Running main() from '): + # Upstream googletest prints this to stdout prior to running + # tests. LLVM removed that print statement in r61540, but we + # handle it here in case upstream googletest is being used. |