[libcxx-commits] [libcxx] r352006 - Uncomment the entire test, but mark as XFAIL on linux-gnu because it uses locales that aren't generally available there, similar to the other regex tests

Marshall Clow via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 23 17:52:56 PST 2019


Author: marshall
Date: Wed Jan 23 17:52:56 2019
New Revision: 352006

URL: http://llvm.org/viewvc/llvm-project?rev=352006&view=rev
Log:
Uncomment the entire test, but mark as XFAIL on linux-gnu because it uses locales that aren't generally available there, similar to the other regex tests

Modified:
    libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp

Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp?rev=352006&r1=352005&r2=352006&view=diff
==============================================================================
--- libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp (original)
+++ libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp Wed Jan 23 17:52:56 2019
@@ -16,6 +16,9 @@
 //                    regex_constants::match_flag_type flags
 //                                            = regex_constants::match_default);
 
+// TODO: investigation needed
+// XFAIL: linux-gnu
+
 #include <regex>
 #include <cassert>
 #include "test_macros.h"
@@ -25,7 +28,6 @@
 
 int main()
 {
-#if 0
     {
         std::cmatch m;
         const char s[] = "a";
@@ -1388,5 +1390,4 @@ int main()
         assert(m.position(0) == 0);
         assert(m.str(0) == s);
     }
-#endif
 }




More information about the libcxx-commits mailing list