Testing C++14 mode in libc++

Larisse Voufo lvoufo at google.com
Thu Feb 19 22:27:53 PST 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150219/606b669f/attachment.html>


More information about the cfe-commits mailing list