[libcxx] r296725 - Recommit r296712: "Fix Apple-specific XFAIL directive in libc++ test"

Mehdi Amini via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 1 18:01:12 PST 2017


Author: mehdi_amini
Date: Wed Mar  1 20:01:11 2017
New Revision: 296725

URL: http://llvm.org/viewvc/llvm-project?rev=296725&view=rev
Log:
Recommit r296712: "Fix Apple-specific XFAIL directive in libc++ test"

The test is passing with c++11 and c++14 but not c++1z on this
particular version of the compiler. Try to use lit boolean condition
to satisfy this constaint.

Modified:
    libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp

Modified: libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp?rev=296725&r1=296724&r2=296725&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp Wed Mar  1 20:01:11 2017
@@ -9,7 +9,7 @@
 
 // Usage of is_trivially_constructible is broken with these compilers.
 // See https://bugs.llvm.org/show_bug.cgi?id=31016
-// XFAIL: clang-3.7, apple-clang-7, apple-clang-7.0
+// XFAIL: clang-3.7, apple-clang-7 && c++1z
 
 // <iterator>
 




More information about the cfe-commits mailing list