[cfe-dev] [libcxx/test] How many tests should test it be passing?

Matthew Abbott abbottmg at me.com
Tue Feb 7 20:20:24 PST 2012

Hi all,

I've noticed that test/testit is failing many more tests than the project's status page would have me believe. Here's the result I'm getting:

Results for /Users/matt/libcxx/test:
using clang version 3.0 (tags/RELEASE_30/final)
Target: x86_64-apple-darwin11.2.0
Thread model: posix
with -std=c++11 -stdlib=libc++  
sections without tests   : 1
sections with failures   : 545
sections without failures: 518
                       +   ----
total number of sections : 1064
number of tests failed   : 2618
number of tests passed   : 1706
                       +   ----
total number of tests    : 4324

Should I be failing 545 sections still? I've tried a few different combinations of options, including the flags "-U__STRICT_ANSI__ -D__STDC_FORMAT_MACROS" and changing between c++11 and c++0x, but am getting the same number of tests failed regardless.

I'm running on 10.7, and as you can see with clang-3.0 (the latest version available on macports, although I had been previously pulling the clang release from SVN and getting the same results). I thought I'd sanity check with the list, to see whether this failure rate is as high as I feel it is. I can give a more detailed output from the script if anyone desires, but it's a lot of template barf...

Thanks all,
Matt A.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120207/5d60ab9e/attachment.html>

More information about the cfe-dev mailing list