aboutsummaryrefslogtreecommitdiffstats
path: root/community/llvm5/fix-too-strict-gtest-banner-check.patch
blob: 412888e42024eb8be180604e6eee3fefabd563a7 (plain)
1
2
3
4
5
6
7
8
9
10
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.