[cfe-dev] Testing C++14 mode in libc++

Larisse Voufo lvoufo at google.com
Fri Feb 20 09:49:51 PST 2015


On Thu, Feb 19, 2015 at 11:11 PM, Dan Albert <danalbert at google.com> wrote:

> Looks like we have a buildbot that says things are fine over here:
> http://lab.llvm.org:8011/builders/libcxx-libcxxabi-x86_64-linux-ubuntu-cxx14
>
Thanks for the link, Dan. However, I can't help but think that they ought
to be a way to systematically test this mode (without messing with
lit.site.cfg) before shipping it off... to the buildbots...
Am I to understand that the general practice here is to just rely on the
buildbots?


> I think there was actually some discussion of this on IRC earlier today.
> What little I saw made it sound like those were known failures if you're
> using an older version if clang (such as the one that ships with xcode).
>
This would be impossible in my case since I am working with llvm trunk...


> On Feb 19, 2015 22:30, "Larisse Voufo" <lvoufo at google.com> wrote:
>
>> Pardon me if the answer to this is trivially documented somewhere
>> (where?), but I was wondering how we test libc++ in C++14 mode.
>>
>> The document at http://libcxx.llvm.org/ says to run tests with "make
>> check-libcxx".
>> However, I have noticed, based on the file build/test/lit.site.cfg, that
>> this runs our regression tests only in C++11 mode.
>>
>> Upon replacing the value of config.std from "c++11" to "c++1y", I found
>> the following (11) tests to fail unexpectedly:
>>
>>     libc++ ::
>> std/experimental/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.find/rfind_pointer_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.find/rfind_string_view_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.ops/compare.pointer_size.pass.cpp
>>     libc++ ::
>> std/experimental/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp
>>     libc++ ::
>> std/experimental/utilities/time/header.chrono.synop/treat_as_floating_point_v.pass.cpp
>>
>> What am I missing?
>>
>> Thanks,
>> -- Larisse.
>>
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150220/b2a5b5f5/attachment.html>


More information about the cfe-dev mailing list