<div class="gmail_quote">2011/9/28 Ruben Van Boxem <span dir="ltr"><<a href="mailto:vanboxem.ruben@gmail.com" target="_blank">vanboxem.ruben@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>Attached is a file describing in detail what libc++ tests failed in my test run and why (if it could be easily deduced from comparing Clang/GCC output or from the helpful Clang error messages). I used a slightly modified testit, so that GCC (which doesn't use default a.out on Windows) could also run the tests. That patch could use some work, I'll keep it local for now.<br>
<br>The good news: a lot of these have trivial fixes, and the fault lies in the tests themselves (size of wchar_t, locale names, different number output format...).<br>The bad news: Making this document sucked, and I'm never doing it again.<br>
<br>If in any way possible, thid could have a place in the libc++ source tree. It would make finding outstanding test failures and their reasons easy. Perhaps other platforms could then also keep track of failures. If not, I'll create a general bug report for libc++ and attach this document. I of course plan to keep this updated once fixes are applied.<br>
<br>A small summarizing note:<br> - thread needs attention, probably most failures are due to winpthreads.<br> - io (actually most kinds of streams) needs attention, failures pops up everywhere. <br> - lots of regex failures. Not good.<br>
- numerics has trouble with math functions. Perhaps a format issue.<br> - stdint.h and uchar.h issues are being dealt with.<br><br>Re the last point: How does Clang handle __cplusplus and C++11?<br><br>I'll be using this as a basis to further fix Windows issues, but I'll have less time from now on. It is a nice baseline status of libc++ on Windows. Help is always appreciated ;-)<br>
<font color="#888888">
<br></font></blockquote><div><br>The small work I've done on locale related stuff reduced failed test count from 621 to 438. Wow. Progress: almost under 10% :) I have attached an updated "results.Windows" to celebrate, and also the patch I used to run testit. The TEST_EXE is necessary for GCC compatibility, it does not use the default a.out, but a.exe instead. I still needed to use a static libc++ for this run... -Wl,--export-all-symbols seems insufficient for the dll to work (although nm does show the missing symbols, maybe a clang vs ld problem).<br>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<font color="#888888">Ruben<br>
</font></blockquote></div><br>