[PATCH] [libcxx] Mark atomic tests UNSUPPORTED for c++03 and c++98.

Jonathan Roelofs jonathan at codesourcery.com
Mon Oct 27 14:08:31 PDT 2014


================
Comment at: test/atomics/libcpp-no-threads.fail.cpp:1
@@ +1,2 @@
+//===----------------------------------------------------------------------===//
+//
----------------
test/atomics/libcpp-no-threads.fail.cpp looks useful to me as a separate change, though we probably ought to think about how to support fail tests that are conditional on platform specifics (which is what this test really ought to be).

I think the way forward on that would be to add support for support for implicit "XFAIL: *" in *.fail.cpp tests when an XFAIL line isn't specified.  Then the afformentioned test should have an "XFAIL: libcpp-has-no-threads".

Something to discus at the cross testing BOF, I suppose....

http://reviews.llvm.org/D5955






More information about the cfe-commits mailing list