aboutsummaryrefslogtreecommitdiffstats
path: root/community/llvm5/fix-too-strict-gtest-banner-check.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-11 23:55:20 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-11 23:56:17 -0300
commit4948c3c3f2c0e4daeba495e01b7ca69b779f1227 (patch)
tree4fe7efb7427d2e0073893909d44d379876176bbf /community/llvm5/fix-too-strict-gtest-banner-check.patch
parente9798406b16a3ce5d0291c56777193fd54db9967 (diff)
downloadaports-4948c3c3f2c0e4daeba495e01b7ca69b779f1227.tar.bz2
aports-4948c3c3f2c0e4daeba495e01b7ca69b779f1227.tar.xz
community/llvm5: move from unmaintained
Turns out ghc still needs it
Diffstat (limited to 'community/llvm5/fix-too-strict-gtest-banner-check.patch')
-rw-r--r--community/llvm5/fix-too-strict-gtest-banner-check.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/llvm5/fix-too-strict-gtest-banner-check.patch b/community/llvm5/fix-too-strict-gtest-banner-check.patch
new file mode 100644
index 0000000000..412888e420
--- /dev/null
+++ b/community/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.