[PATCH] D26142: Protect std::experimental::optional tests under libcpp-no-exceptions
Roger Ferrer Ibanez via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 31 04:27:44 PDT 2016
rogfer01 created this revision.
rogfer01 added reviewers: mclow.lists, EricWF, rmaprath.
rogfer01 added a subscriber: cfe-commits.
In these tests there are some paths that explicitly throw, so use
the TEST_THROW macro that was proposed for this and then skip the tests
that may enter the throwing path.
https://reviews.llvm.org/D26142
Files:
test/std/experimental/optional/optional.object/optional.object.assign/copy.pass.cpp
test/std/experimental/optional/optional.object/optional.object.assign/emplace.pass.cpp
test/std/experimental/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp
test/std/experimental/optional/optional.object/optional.object.assign/move.pass.cpp
test/std/experimental/optional/optional.object/optional.object.ctor/const_T.pass.cpp
test/std/experimental/optional/optional.object/optional.object.ctor/copy.pass.cpp
test/std/experimental/optional/optional.object/optional.object.ctor/in_place_t.pass.cpp
test/std/experimental/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp
test/std/experimental/optional/optional.object/optional.object.ctor/move.pass.cpp
test/std/experimental/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp
test/std/experimental/optional/optional.object/optional.object.observe/value.pass.cpp
test/std/experimental/optional/optional.object/optional.object.observe/value_const.pass.cpp
test/std/experimental/optional/optional.object/optional.object.swap/swap.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26142.76383.patch
Type: text/x-patch
Size: 16453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161031/c980eee5/attachment-0001.bin>
More information about the cfe-commits
mailing list