[libcxx] r272637 - Temporarily XFAIL variadic lock_guard mangling test for GCC 4.9

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 21:45:27 PDT 2016


Author: ericwf
Date: Mon Jun 13 23:45:26 2016
New Revision: 272637

URL: http://llvm.org/viewvc/llvm-project?rev=272637&view=rev
Log:
Temporarily XFAIL variadic lock_guard mangling test for GCC 4.9

Modified:
    libcxx/trunk/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp

Modified: libcxx/trunk/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp?rev=272637&r1=272636&r2=272637&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/variadic_mutex_mangling.pass.cpp Mon Jun 13 23:45:26 2016
@@ -9,6 +9,10 @@
 //
 // UNSUPPORTED: libcpp-has-no-threads
 
+// TODO(EricWF) Investigate why typeid(...).name() returns a different string
+// on GCC 4.9 but not newer GCCs.
+// XFAIL: gcc-4.9
+
 // THIS TESTS C++03 EXTENSIONS.
 
 // <mutex>
@@ -21,9 +25,9 @@
 
 #define _LIBCPP_ABI_VARIADIC_LOCK_GUARD
 #include <mutex>
+#include <string>
 #include <typeinfo>
 #include <cassert>
-#include <iostream>
 
 int main() {
     const std::string expect = "NSt3__110lock_guardIJNS_5mutexEEEE";




More information about the cfe-commits mailing list