summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/language.support/support.exception/propagation
diff options
context:
space:
mode:
authorAsiri Rathnayake <asiri.rathnayake@arm.com>2015-11-10 11:41:22 +0000
committerAsiri Rathnayake <asiri.rathnayake@arm.com>2015-11-10 11:41:22 +0000
commitf520c1445f2d9cfb6153e3c125076aa6e3a76fc8 (patch)
tree51af3efa51e0deed70331a4519a23247fe709fe0 /libcxx/test/std/language.support/support.exception/propagation
parentd414c99b9c20e2ff96524c015699f6bc6f71a888 (diff)
downloadbcm5719-llvm-f520c1445f2d9cfb6153e3c125076aa6e3a76fc8.tar.gz
bcm5719-llvm-f520c1445f2d9cfb6153e3c125076aa6e3a76fc8.zip
Make it possible to build a no-exceptions variant of libcxx.
Fixes a small omission in libcxx that prevents libcxx being built when -DLIBCXX_ENABLE_EXCEPTIONS=0 is specified. This patch adds XFAILS to all those tests that are currently failing on the new -fno-exceptions library variant. Follow-up patches will update the tests (progressively) to cope with the new library variant. Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a llvm-svn: 252598
Diffstat (limited to 'libcxx/test/std/language.support/support.exception/propagation')
-rw-r--r--libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp1
-rw-r--r--libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp1
-rw-r--r--libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp b/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp
index 9ff0d6e2ce4..09adf580bdd 100644
--- a/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp
+++ b/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+// XFAIL: libcpp-no-exceptions
// <exception>
// exception_ptr current_exception();
diff --git a/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp b/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp
index 89c9f85d381..6e4c0a98b09 100644
--- a/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp
+++ b/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+// XFAIL: libcpp-no-exceptions
// <exception>
// template<class E> exception_ptr make_exception_ptr(E e);
diff --git a/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp b/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp
index e47a5989d41..c28c901bdd7 100644
--- a/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp
+++ b/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+// XFAIL: libcpp-no-exceptions
// <exception>
// void rethrow_exception [[noreturn]] (exception_ptr p);
OpenPOWER on IntegriCloud