Browse Source

Prevent failures by marking Clock::is_steady tests as UNSUPPORTED: asan.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@275753 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 9 years ago
parent
commit
0751cc188f

+ 4 - 0
test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp

@@ -12,6 +12,10 @@
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin11
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12
 
+// Due to C++17 inline variables ASAN flags this test as containing an ODR
+// violation because Clock::is_steady is defined in both the dylib and this TU.
+// UNSUPPORTED: asan
+
 // <chrono>
 
 // high_resolution_clock

+ 4 - 0
test/std/utilities/time/time.clock/time.clock.steady/consistency.pass.cpp

@@ -13,6 +13,10 @@
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12
 // UNSUPPORTED: libcpp-has-no-monotonic-clock
 
+// Due to C++17 inline variables ASAN flags this test as containing an ODR
+// violation because Clock::is_steady is defined in both the dylib and this TU.
+// UNSUPPORTED: asan
+
 // <chrono>
 
 // steady_clock

+ 4 - 0
test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp

@@ -12,6 +12,10 @@
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin11
 // XFAIL: with_system_cxx_lib=x86_64-apple-darwin12
 
+// Due to C++17 inline variables ASAN flags this test as containing an ODR
+// violation because Clock::is_steady is defined in both the dylib and this TU.
+// UNSUPPORTED: asan
+
 // <chrono>
 
 // system_clock