Eric Fiselier
e2878b2f97
Remove more usages of REQUIRES-ANY in the test-suite
...
llvm-svn: 296727
2017-03-02 02:04:49 +00:00
Marshall Clow
e67179bc6c
Remove auto_ptr in C++17. Get it back by defining _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
...
llvm-svn: 292986
2017-01-24 22:22:33 +00:00
Eric Fiselier
ccf1813150
Refactor unique_ptr/shared_ptr deleter test types into single header.
...
llvm-svn: 292577
2017-01-20 04:39:17 +00:00
Roger Ferrer Ibanez
4a152f147f
Protect smart-pointer tests under no exceptions
...
Skip tests that expect an exception be thrown under no-exceptions.
Differential Revision: https://reviews.llvm.org/D26457
llvm-svn: 286809
2016-11-14 10:27:56 +00:00
Roger Ferrer Ibanez
3565c96d86
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
llvm-svn: 285550
2016-10-31 08:47:53 +00:00
Eric Fiselier
2c8c71f13e
Remove all instances of _LIBCPP_HAS_NO_RVALUE_REFERENCES from test/std/utilities
...
llvm-svn: 283032
2016-10-01 10:46:01 +00:00
Eric Fiselier
74480010dc
Make shared_ptr constructor tests use count_new.hpp
...
llvm-svn: 273379
2016-06-22 04:51:07 +00:00
Eric Fiselier
f2f2a6395f
Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.
...
This is a huge cleanup that helps make the libc++ test suite more portable.
Patch from STL@microsoft.com . Thanks STL!
llvm-svn: 272716
2016-06-14 21:31:42 +00:00
Eric Fiselier
d04c685168
Remove trailing whitespace in test suite. Approved by Marshall Clow.
...
llvm-svn: 271435
2016-06-01 21:35:39 +00:00
Asiri Rathnayake
f520c1445f
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
2015-11-10 11:41:22 +00:00
Marshall Clow
c34f847b80
Fix for LWG Issue 2415: Inconsistency between unique_ptr and shared_ptr
...
llvm-svn: 236953
2015-05-10 13:59:45 +00:00
Eric Fiselier
4b7533a1dd
Use generic feature name for sanitizers that replace new and delete
...
llvm-svn: 231841
2015-03-10 20:46:04 +00:00
Eric Fiselier
5a83710e37
Move test into test/std subdirectory.
...
llvm-svn: 224658
2014-12-20 01:40:03 +00:00