Quellcode durchsuchen

Change from "XFAIL: libcpp-no-exceptions" to "UNSUPPORTED: libcpp-no-exceptions" tests that only check exceptions and nothing else

This is a follow up of D24562.

These tests do not check anything but exceptions, so it makes sense to mark
them as UNSUPPORTED under a library built without exceptions.

Differential Revision: https://reviews.llvm.org/D26075



git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@285550 91177308-0d34-0410-b5e6-96231b3b80d8
Roger Ferrer Ibanez vor 8 Jahren
Ursprung
Commit
efc9f170c9
25 geänderte Dateien mit 25 neuen und 25 gelöschten Zeilen
  1. 1 1
      test/libcxx/containers/sequences/vector/asan_throw.pass.cpp
  2. 1 1
      test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp
  3. 1 1
      test/libcxx/experimental/containers/sequences/dynarray/dynarray.overview/at.pass.cpp
  4. 1 1
      test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp
  5. 1 1
      test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp
  6. 1 1
      test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp
  7. 1 1
      test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp
  8. 1 1
      test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp
  9. 1 1
      test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
  10. 1 1
      test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp
  11. 1 1
      test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp
  12. 1 1
      test/std/language.support/support.exception/propagation/current_exception.pass.cpp
  13. 1 1
      test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp
  14. 1 1
      test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp
  15. 1 1
      test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp
  16. 1 1
      test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp
  17. 1 1
      test/std/strings/basic.string/string.capacity/max_size.pass.cpp
  18. 1 1
      test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp
  19. 1 1
      test/std/thread/thread.condition/thread.condition.condvarany/wait_terminates.sh.cpp
  20. 1 1
      test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
  21. 1 1
      test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp
  22. 1 1
      test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_throw.pass.cpp
  23. 1 1
      test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp
  24. 1 1
      test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_throw.pass.cpp
  25. 1 1
      test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_throw.pass.cpp

+ 1 - 1
test/libcxx/containers/sequences/vector/asan_throw.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // Test asan vector annotations with a class that throws in a CTOR.
 
 #include <vector>

+ 1 - 1
test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/default_throws_bad_alloc.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // dynarray.cons
 
 // explicit dynarray(size_type c);

+ 1 - 1
test/libcxx/experimental/containers/sequences/dynarray/dynarray.overview/at.pass.cpp

@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 // UNSUPPORTED: c++98, c++03, c++11
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // dynarray.overview
 
 // const_reference at(size_type n) const;

+ 1 - 1
test/std/containers/sequences/deque/deque.modifiers/push_back_exception_safety.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <deque>
 
 // void push_back(const value_type& x);

+ 1 - 1
test/std/containers/sequences/deque/deque.modifiers/push_front_exception_safety.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <deque>
 
 // void push_front(const value_type& x);

+ 1 - 1
test/std/containers/sequences/forwardlist/forwardlist.modifiers/push_front_exception_safety.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <forward_list>
 
 // void push_front(const value_type& x);

+ 1 - 1
test/std/containers/sequences/list/list.modifiers/push_back_exception_safety.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <list>
 
 // void push_back(const value_type& x);

+ 1 - 1
test/std/containers/sequences/list/list.modifiers/push_front_exception_safety.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <list>
 
 // void push_front(const value_type& x);

+ 1 - 1
test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <exception>
 
 // class nested_exception;

+ 1 - 1
test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <exception>
 
 // class nested_exception;

+ 1 - 1
test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <exception>
 
 // class nested_exception;

+ 1 - 1
test/std/language.support/support.exception/propagation/current_exception.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <exception>
 
 // exception_ptr current_exception();

+ 1 - 1
test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <exception>
 
 // template<class E> exception_ptr make_exception_ptr(E e);

+ 1 - 1
test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <exception>
 
 // void rethrow_exception [[noreturn]] (exception_ptr p);

+ 1 - 1
test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // test uncaught_exception
 
 #include <exception>

+ 1 - 1
test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // test uncaught_exceptions
 
 #include <exception>

+ 1 - 1
test/std/strings/basic.string/string.capacity/max_size.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <string>
 
 // size_type max_size() const;

+ 1 - 1
test/std/strings/basic.string/string.capacity/over_max_size.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <string>
 
 // size_type max_size() const;

+ 1 - 1
test/std/thread/thread.condition/thread.condition.condvarany/wait_terminates.sh.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // UNSUPPORTED: libcpp-has-no-threads
 
 // <condition_variable>

+ 1 - 1
test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <memory>
 
 // allocator:

+ 1 - 1
test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <memory>
 
 // template<class D, class A> shared_ptr(nullptr_t, D d, A a);

+ 1 - 1
test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_throw.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // UNSUPPORTED: sanitizer-new-delete
 
 // <memory>

+ 1 - 1
test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // <memory>
 
 // template<class Y, class D, class A> shared_ptr(Y* p, D d, A a);

+ 1 - 1
test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_throw.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // UNSUPPORTED: sanitizer-new-delete
 
 // <memory>

+ 1 - 1
test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_throw.pass.cpp

@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // UNSUPPORTED: sanitizer-new-delete
 
 // <memory>