summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/msan
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-01-09 13:27:29 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-01-09 13:27:29 +0000
commit2c2d65efab5669bb0313c29363724ca6415a0bb4 (patch)
tree1ea8b0b9af28cc436ad68f5d118e9c67f4d93f56 /compiler-rt/test/msan
parent5a7132ff0f1720153e719329516be241dfb93cf8 (diff)
downloadbcm5719-llvm-2c2d65efab5669bb0313c29363724ca6415a0bb4.tar.gz
bcm5719-llvm-2c2d65efab5669bb0313c29363724ca6415a0bb4.zip
[test] Detect glibc-2.27+ and XFAIL appropriate tests
XFAIL the tests known to fail with glibc-2.27+. This takes away the burden of handling known failures from users, and ensures that we will be verbosely informed when they actually start working again. Bug report: https://bugs.llvm.org/show_bug.cgi?id=37804 Differential Revision: https://reviews.llvm.org/D56062 llvm-svn: 350717
Diffstat (limited to 'compiler-rt/test/msan')
-rw-r--r--compiler-rt/test/msan/dtls_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/test/msan/dtls_test.c b/compiler-rt/test/msan/dtls_test.c
index ee91be2ff15..bc1fe609a85 100644
--- a/compiler-rt/test/msan/dtls_test.c
+++ b/compiler-rt/test/msan/dtls_test.c
@@ -11,6 +11,11 @@
// Reports use-of-uninitialized-value, not analyzed
XFAIL: netbsd
+
+ // This is known to be broken with glibc-2.27+
+ // https://bugs.llvm.org/show_bug.cgi?id=37804
+ XFAIL: glibc-2.27
+
*/
#ifndef BUILD_SO
OpenPOWER on IntegriCloud