summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/ubsan/TestCases/Integer/suppressions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler-rt/test/ubsan/TestCases/Integer/suppressions.cpp b/compiler-rt/test/ubsan/TestCases/Integer/suppressions.cpp
index e6ae626db3d..5203efd0125 100644
--- a/compiler-rt/test/ubsan/TestCases/Integer/suppressions.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Integer/suppressions.cpp
@@ -1,3 +1,9 @@
+// XFAIL: win32
+// This test fails on Windows if the environment was set up by SetEnv.cmd from
+// the Windows SDK. If it's set up via vcvarsall.bat, it passes.
+// FIXME: Figure out how to make this reliably pass on Windows.
+// test/asan/TestCases/suppressions-interceptor.cc will need the same fix.
+
// RUN: %clangxx -fsanitize=integer -g0 %s -o %t
// Fails without any suppression.
OpenPOWER on IntegriCloud