6f56ab789cb470620554d624c37f488285b3b04e |
06-May-2014 |
Dan Albert <danalbert@google.com> |
Adds a basic test wrapper for Android To run libc++ tests: $ mm $ adb sync $ python runtests.py # runs all host and device tests # see main() for command line options To regenerate all makefiles: $ python makemake.py Change-Id: Ibad78ad8e1bd45f32730d281afa53c2cec55478f
ndroid.mk
til.smartptr.getdeleter/Android.mk
til.smartptr.shared.assign/Android.mk
til.smartptr.shared.cast/Android.mk
til.smartptr.shared.cmp/Android.mk
til.smartptr.shared.const/Android.mk
til.smartptr.shared.create/Android.mk
til.smartptr.shared.dest/Android.mk
til.smartptr.shared.io/Android.mk
til.smartptr.shared.mod/Android.mk
til.smartptr.shared.obs/Android.mk
til.smartptr.shared.spec/Android.mk
|
1b92188a82b01e76ac6e8ad5f997293c2a078adc |
03-Dec-2013 |
Marshall Clow <mclow.lists@gmail.com> |
Found six (nmostly) identical files named 'test_allocator.h' in the libcxx test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@196174 91177308-0d34-0410-b5e6-96231b3b80d8
est_allocator.h
til.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp
til.smartptr.shared.create/allocate_shared.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter_allocator.pass.cpp
|
9976b5511a5ff7c67dc7bc024604efa0baf43625 |
23-Mar-2013 |
Howard Hinnant <hhinnant@apple.com> |
This is a start at making the libc++ test suite friendlier to the -fnoexceptions flag. Although this is not a complete solution, it does reduce the number of test failures on OS X from 467 to 128 on OS X when -fno-exceptions is enabled, and does not impact the number of failures at all when -fno-exceptions is not enabled. The bulk of this code was donated anonymously. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177824 91177308-0d34-0410-b5e6-96231b3b80d8
est_allocator.h
|
069bdd52c1a89e106cad3b8894b2bc8013632aa2 |
02-Aug-2012 |
Howard Hinnant <hhinnant@apple.com> |
Andrew Morrow: There are two tests under test/utilities/memory that heap allocate two integers which remain unused and are subsequently leaked, so the test fail when run under valgrind. Unless I'm overlooking a subtle reason why they are needed I think they can be removed, allowing these tests to pass under valgrind. The attached patch removes the variables. If there is a reason for them to exist, I can change this to just delete them at the end of the test. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161195 91177308-0d34-0410-b5e6-96231b3b80d8
til.smartptr.shared.cmp/cmp_nullptr.pass.cpp
|
3fadda314ad3b1fd0ba16db83476a9d5a7b58d78 |
21-Feb-2012 |
Howard Hinnant <hhinnant@apple.com> |
Modernize relational operators for shared_ptr and unique_ptr. This includes adding support for nullptr, and using less<T*>. Fixes http://llvm.org/bugs/show_bug.cgi?id=12056. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151084 91177308-0d34-0410-b5e6-96231b3b80d8
til.smartptr.shared.cmp/cmp_nullptr.pass.cpp
|
01198b313ce92ad2ac64eeda548fd8d049ebe039 |
18-Feb-2012 |
Howard Hinnant <hhinnant@apple.com> |
Exercise rvalue arguements to make_shared for C++11 mode. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@150887 91177308-0d34-0410-b5e6-96231b3b80d8
til.smartptr.shared.create/make_shared.pass.cpp
|
541cb301a123086ac7889215aa032f7f81ea96b9 |
19-Jul-2011 |
Sean Hunt <scshunt@csclub.uwaterloo.ca> |
Adjust two tests to account for a nasty change in copying behavior between C++03 and C++0x and its effect on exceptions, and another two to not test move construction when rvalue references are not available. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135445 91177308-0d34-0410-b5e6-96231b3b80d8
til.smartptr.shared.assign/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.assign/shared_ptr_rv.pass.cpp
til.smartptr.shared.const/auto_ptr.pass.cpp
til.smartptr.shared.const/unique_ptr.pass.cpp
|
6b41c6047ba9016a4a183fd77522db941bc32392 |
11-May-2011 |
Howard Hinnant <hhinnant@apple.com> |
Corrected some bugs in both memory and the tests. Preparing for being able to turn on support for alias templates. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@131199 91177308-0d34-0410-b5e6-96231b3b80d8
til.smartptr.shared.assign/auto_ptr_Y.pass.cpp
|
b64f8b07c104c6cc986570ac8ee0ed16a9f23976 |
16-Nov-2010 |
Howard Hinnant <hhinnant@apple.com> |
license change git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119395 91177308-0d34-0410-b5e6-96231b3b80d8
est_deleter.h
ypes.pass.cpp
til.smartptr.getdeleter/get_deleter.pass.cpp
til.smartptr.shared.assign/auto_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.assign/shared_ptr_rv.pass.cpp
til.smartptr.shared.assign/unique_ptr_Y.pass.cpp
til.smartptr.shared.cast/const_pointer_cast.pass.cpp
til.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp
til.smartptr.shared.cast/static_pointer_cast.pass.cpp
til.smartptr.shared.cmp/eq.pass.cpp
til.smartptr.shared.cmp/lt.pass.cpp
til.smartptr.shared.const/auto_ptr.pass.cpp
til.smartptr.shared.const/default.pass.cpp
til.smartptr.shared.const/nullptr_t.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer.pass.cpp
til.smartptr.shared.const/pointer_deleter.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/pointer_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer_throw.pass.cpp
til.smartptr.shared.const/shared_ptr.pass.cpp
til.smartptr.shared.const/shared_ptr_Y.pass.cpp
til.smartptr.shared.const/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.const/shared_ptr_pointer.pass.cpp
til.smartptr.shared.const/shared_ptr_rv.pass.cpp
til.smartptr.shared.const/unique_ptr.pass.cpp
til.smartptr.shared.const/weak_ptr.pass.cpp
til.smartptr.shared.create/allocate_shared.pass.cpp
til.smartptr.shared.create/make_shared.pass.cpp
til.smartptr.shared.dest/tested_elsewhere.pass.cpp
til.smartptr.shared.io/io.pass.cpp
til.smartptr.shared.mod/reset.pass.cpp
til.smartptr.shared.mod/reset_pointer.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter_allocator.pass.cpp
til.smartptr.shared.mod/swap.pass.cpp
til.smartptr.shared.obs/arrow.pass.cpp
til.smartptr.shared.obs/dereference.pass.cpp
til.smartptr.shared.obs/op_bool.pass.cpp
til.smartptr.shared.obs/owner_before_shared_ptr.pass.cpp
til.smartptr.shared.obs/owner_before_weak_ptr.pass.cpp
til.smartptr.shared.obs/unique.pass.cpp
til.smartptr.shared.spec/swap.pass.cpp
|
73d21a4f0774d3fadab98e690619a359cfb160a3 |
05-Sep-2010 |
Howard Hinnant <hhinnant@apple.com> |
Changed __config to react to all of clang's currently documented has_feature flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@113086 91177308-0d34-0410-b5e6-96231b3b80d8
til.smartptr.shared.const/auto_ptr.pass.cpp
til.smartptr.shared.const/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.const/shared_ptr_rv.pass.cpp
|
c52f43e72dfcea03037729649da84c23b3beb04a |
22-Aug-2010 |
Howard Hinnant <hhinnant@apple.com> |
Fixing whitespace problems git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111767 91177308-0d34-0410-b5e6-96231b3b80d8
est_allocator.h
est_deleter.h
ypes.pass.cpp
til.smartptr.getdeleter/get_deleter.pass.cpp
til.smartptr.shared.assign/auto_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.assign/shared_ptr_rv.pass.cpp
til.smartptr.shared.assign/unique_ptr_Y.pass.cpp
til.smartptr.shared.cast/const_pointer_cast.pass.cpp
til.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp
til.smartptr.shared.cast/static_pointer_cast.pass.cpp
til.smartptr.shared.cmp/eq.pass.cpp
til.smartptr.shared.cmp/lt.pass.cpp
til.smartptr.shared.const/auto_ptr.pass.cpp
til.smartptr.shared.const/default.pass.cpp
til.smartptr.shared.const/nullptr_t.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer.pass.cpp
til.smartptr.shared.const/pointer_deleter.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/pointer_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer_throw.pass.cpp
til.smartptr.shared.const/shared_ptr.pass.cpp
til.smartptr.shared.const/shared_ptr_Y.pass.cpp
til.smartptr.shared.const/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.const/shared_ptr_pointer.pass.cpp
til.smartptr.shared.const/shared_ptr_rv.pass.cpp
til.smartptr.shared.const/unique_ptr.pass.cpp
til.smartptr.shared.const/weak_ptr.pass.cpp
til.smartptr.shared.create/allocate_shared.pass.cpp
til.smartptr.shared.create/make_shared.pass.cpp
til.smartptr.shared.dest/tested_elsewhere.pass.cpp
til.smartptr.shared.mod/reset.pass.cpp
til.smartptr.shared.mod/reset_pointer.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter_allocator.pass.cpp
til.smartptr.shared.mod/swap.pass.cpp
til.smartptr.shared.obs/arrow.pass.cpp
til.smartptr.shared.obs/dereference.pass.cpp
til.smartptr.shared.obs/op_bool.pass.cpp
til.smartptr.shared.obs/owner_before_shared_ptr.pass.cpp
til.smartptr.shared.obs/owner_before_weak_ptr.pass.cpp
til.smartptr.shared.obs/unique.pass.cpp
til.smartptr.shared.spec/swap.pass.cpp
|
f5256e16dfc425c1d466f6308d4026d529ce9e0b |
11-May-2010 |
Howard Hinnant <hhinnant@apple.com> |
Wiped out some non-ascii characters that snuck into the copyright. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103516 91177308-0d34-0410-b5e6-96231b3b80d8
est_deleter.h
ypes.pass.cpp
til.smartptr.getdeleter/get_deleter.pass.cpp
til.smartptr.shared.assign/auto_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.assign/shared_ptr_rv.pass.cpp
til.smartptr.shared.assign/unique_ptr_Y.pass.cpp
til.smartptr.shared.cast/const_pointer_cast.pass.cpp
til.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp
til.smartptr.shared.cast/static_pointer_cast.pass.cpp
til.smartptr.shared.cmp/eq.pass.cpp
til.smartptr.shared.cmp/lt.pass.cpp
til.smartptr.shared.const/auto_ptr.pass.cpp
til.smartptr.shared.const/default.pass.cpp
til.smartptr.shared.const/nullptr_t.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer.pass.cpp
til.smartptr.shared.const/pointer_deleter.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/pointer_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer_throw.pass.cpp
til.smartptr.shared.const/shared_ptr.pass.cpp
til.smartptr.shared.const/shared_ptr_Y.pass.cpp
til.smartptr.shared.const/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.const/shared_ptr_pointer.pass.cpp
til.smartptr.shared.const/shared_ptr_rv.pass.cpp
til.smartptr.shared.const/unique_ptr.pass.cpp
til.smartptr.shared.const/weak_ptr.pass.cpp
til.smartptr.shared.create/allocate_shared.pass.cpp
til.smartptr.shared.create/make_shared.pass.cpp
til.smartptr.shared.dest/tested_elsewhere.pass.cpp
til.smartptr.shared.io/io.pass.cpp
til.smartptr.shared.mod/reset.pass.cpp
til.smartptr.shared.mod/reset_pointer.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter_allocator.pass.cpp
til.smartptr.shared.mod/swap.pass.cpp
til.smartptr.shared.obs/arrow.pass.cpp
til.smartptr.shared.obs/dereference.pass.cpp
til.smartptr.shared.obs/op_bool.pass.cpp
til.smartptr.shared.obs/owner_before_shared_ptr.pass.cpp
til.smartptr.shared.obs/owner_before_weak_ptr.pass.cpp
til.smartptr.shared.obs/unique.pass.cpp
til.smartptr.shared.spec/swap.pass.cpp
|
bc8d3f97eb5c958007f2713238472e0c1c8fe02c |
11-May-2010 |
Howard Hinnant <hhinnant@apple.com> |
libcxx initial import git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103490 91177308-0d34-0410-b5e6-96231b3b80d8
est_allocator.h
est_deleter.h
ypes.pass.cpp
til.smartptr.getdeleter/get_deleter.pass.cpp
til.smartptr.shared.assign/auto_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y.pass.cpp
til.smartptr.shared.assign/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.assign/shared_ptr_rv.pass.cpp
til.smartptr.shared.assign/unique_ptr_Y.pass.cpp
til.smartptr.shared.cast/const_pointer_cast.pass.cpp
til.smartptr.shared.cast/dynamic_pointer_cast.pass.cpp
til.smartptr.shared.cast/static_pointer_cast.pass.cpp
til.smartptr.shared.cmp/eq.pass.cpp
til.smartptr.shared.cmp/lt.pass.cpp
til.smartptr.shared.const/auto_ptr.pass.cpp
til.smartptr.shared.const/default.pass.cpp
til.smartptr.shared.const/nullptr_t.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/nullptr_t_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer.pass.cpp
til.smartptr.shared.const/pointer_deleter.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator.pass.cpp
til.smartptr.shared.const/pointer_deleter_allocator_throw.pass.cpp
til.smartptr.shared.const/pointer_deleter_throw.pass.cpp
til.smartptr.shared.const/pointer_throw.pass.cpp
til.smartptr.shared.const/shared_ptr.pass.cpp
til.smartptr.shared.const/shared_ptr_Y.pass.cpp
til.smartptr.shared.const/shared_ptr_Y_rv.pass.cpp
til.smartptr.shared.const/shared_ptr_pointer.pass.cpp
til.smartptr.shared.const/shared_ptr_rv.pass.cpp
til.smartptr.shared.const/unique_ptr.pass.cpp
til.smartptr.shared.const/weak_ptr.pass.cpp
til.smartptr.shared.create/allocate_shared.pass.cpp
til.smartptr.shared.create/make_shared.pass.cpp
til.smartptr.shared.dest/tested_elsewhere.pass.cpp
til.smartptr.shared.io/io.pass.cpp
til.smartptr.shared.mod/reset.pass.cpp
til.smartptr.shared.mod/reset_pointer.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter.pass.cpp
til.smartptr.shared.mod/reset_pointer_deleter_allocator.pass.cpp
til.smartptr.shared.mod/swap.pass.cpp
til.smartptr.shared.obs/arrow.pass.cpp
til.smartptr.shared.obs/dereference.pass.cpp
til.smartptr.shared.obs/op_bool.pass.cpp
til.smartptr.shared.obs/owner_before_shared_ptr.pass.cpp
til.smartptr.shared.obs/owner_before_weak_ptr.pass.cpp
til.smartptr.shared.obs/unique.pass.cpp
til.smartptr.shared.spec/swap.pass.cpp
|