[cfe-dev] Installing libc++

Jean-Daniel Dupas devlists at shadowlab.org
Sun Apr 24 10:20:29 PDT 2011


Le 24 avr. 2011 à 18:01, Howard Hinnant a écrit :

> On Apr 24, 2011, at 11:51 AM, Jon Kalb wrote:
> 
>> 
>> Thanks Howard, you guessed right.
>> 
>> This is my testit result (summary):
>> 
>> ****************************************************
>> Results for /Users/jonkalb/Documents/development/developement/libcxx/test:
>> using Apple clang version 2.0 (tags/Apple/clang-138) (based on LLVM 2.9svn)
>> Target: x86_64-apple-darwin10
>> Thread model: posix
>> with -std=c++0x -stdlib=libc++
>> ----------------------------------------------------
>> sections without tests   : 1
>> sections with failures   : 153
>> sections without failures: 910
>>                      +   ----
>> total number of sections : 1064
>> ----------------------------------------------------
>> number of tests failed   : 1221
>> number of tests passed   : 3019
>>                      +   ----
>> total number of tests    : 4240
>> ****************************************************
>> 
>> Is this what I should expect?
> 
> I would've expected significantly fewer test failures for clang -std=c++0x -stdlib=libc++:
> 
> ****************************************************
> Results for /test:
> using Apple clang version 2.0 (trunk 125236) (based on LLVM 2.9svn)
> Target: x86_64-apple-darwin10
> Thread model: posix
> with -std=c++0x -stdlib=libc++ -arch x86_64 -U__STRICT_ANSI__ -I../include /usr/lib/libc++.dylib
> ----------------------------------------------------
> sections without tests   : 1
> sections with failures   : 74
> sections without failures: 989
>                       +   ----
> total number of sections : 1064
> ----------------------------------------------------
> number of tests failed   : 215
> number of tests passed   : 4023
>                       +   ----
> total number of tests    : 4238
> ****************************************************
> 

Is it on purpose that the testit script didn't include the -U__STRICT_ANSI__ flags (this flag was added to buildit to workaround some issue in darwin headers).
Adding this flag will lower the count of failed tests.

FWIW, I got this with a fresh build.

using clang version 3.0 (trunk 130088)
Target: x86_64-apple-darwin10.7.3
Thread model: posix
with -std=c++0x -U__STRICT_ANSI__ -stdlib=libc++  
----------------------------------------------------
sections without tests   : 1
sections with failures   : 76
sections without failures: 987
                       +   ----
total number of sections : 1064
----------------------------------------------------
number of tests failed   : 217
number of tests passed   : 4023
                       +   ----
total number of tests    : 4240



-- Jean-Daniel








More information about the cfe-dev mailing list