hanchenye-llvm-project/libcxx/test
David Chisnall 4fa71de024 Fix the remaining atomic tests, all of which were wrong for the case where a
compare-and-exchange failed (it should update the expected value to the current
value, and the tests were checking that it didn't...).

Results of the atomics part of the test suite on FreeBSD with clang trunk and
the atomic.c from compiler-rt (currently kludged into the test, not installed
properly):

****************************************************
Results for /root/libc++/test/atomics:
using clang version 3.1 (trunk 153415)
Target: x86_64-unknown-freebsd10.0
Thread model: posix
with -std=c++0x -stdlib=libc++ -pthread /tmp/atomic.o  
----------------------------------------------------
sections without tests   : 0
sections with failures   : 0
sections without failures: 14
                       +   ----
total number of sections : 14
----------------------------------------------------
number of tests failed   : 0
number of tests passed   : 52
                       +   ----
total number of tests    : 52
****************************************************

Yay!

llvm-svn: 154095
2012-04-05 13:48:16 +00:00
..
algorithms
atomics Fix the remaining atomic tests, all of which were wrong for the case where a 2012-04-05 13:48:16 +00:00
containers unord test fixes by Edward Meewis 2011-12-02 21:23:14 +00:00
depr Silence some warnings in a test. 2012-02-25 20:04:11 +00:00
diagnostics Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
input.output
iterators
language.support Don't refer to a function that doesn't exist in the quick_exit test. 2012-03-14 14:02:15 +00:00
localization Fix moneypunct_byname algorithm to more accurately represent C locales in C++. 2012-03-10 18:31:43 +00:00
numerics Update <random> with constexpr support. Patch contributed by Jonathan Sauer. 2012-04-02 21:00:45 +00:00
re
strings Fix <rdar://problem/10256836> getline of an empty string mistakenly causes failure 2011-10-09 15:20:46 +00:00
thread update test for explicit bool operator. 2012-02-25 21:43:14 +00:00
utilities I believe tuple is still under development in the standard. Daniel Krugler is/will be making convincing arguments that a modified form of LWG 2051 (currently NAD Future) is easily acheivable and desirable. He has demonstrated that a tuple<T...> where all of the T are implicitly convertible from U... should have a tuple constructor that is also implicit, instead of explicit. This would support the use cases in LWG 2051 while not undermining T... with explicit conversions from U.... This check-in is an experimental implementation of Daniel's work. I believe this work to be mature enough to warrant inclusion into libc++. If anyone sees real-world problems that this check in causes, please let me know and I will revert it, and provide the feedback to the LWG. 2012-04-01 23:10:42 +00:00
CMakeLists.txt Allow libc++ to be built with CMake from within the LLVM tree. The libc++ part is just some renaming as the variable was already in use, conflicting with something else in the LLVM tree. Contributed by Ruben Van Boxem. 2012-03-19 15:40:23 +00:00
hexfloat.h
lit.cfg
lit.site.cfg.in
nothing_to_do.pass.cpp
platform_support.h
testit Make the failure reporting in testit a bit more useful. 2012-02-29 13:00:44 +00:00