Prevent failures by marking Clock::is_steady tests as UNSUPPORTED: asan.
authorEric Fiselier <eric@efcs.ca>
Mon, 18 Jul 2016 02:29:33 +0000 (02:29 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 18 Jul 2016 02:29:33 +0000 (02:29 +0000)
llvm-svn: 275753

libcxx/test/std/utilities/time/time.clock/time.clock.hires/consistency.pass.cpp
libcxx/test/std/utilities/time/time.clock/time.clock.steady/consistency.pass.cpp
libcxx/test/std/utilities/time/time.clock/time.clock.system/consistency.pass.cpp

index 2e3acbc..b6b3aee 100644 (file)
 // 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
index 0e0b83b..6302ce6 100644 (file)
 // 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
index e277d4e..cfbe9bd 100644 (file)
 // 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