[libcxx-dev] ninja check-libcxx failing when running under sudo

Eric Fiselier via libcxx-dev libcxx-dev at lists.llvm.org
Tue Aug 6 13:54:42 PDT 2019


The tests fail because they're trying to cause errors and test error
reporting in filesystem. Normally via removing permissions from a
filesystem entity, then attempting to read or manipulate it.
Testing for error conditions in filesystem is tricky. For example, you
can't reasonable test for an out-of-space condition. The EPERM tests are
often the only tests that exercise the failure paths.

/Eric

On Tue, Aug 6, 2019 at 4:50 PM Marshall Clow via libcxx-dev <
libcxx-dev at lists.llvm.org> wrote:

> On Tue, Aug 6, 2019 at 1:24 PM JF Bastien via libcxx-dev <
> libcxx-dev at lists.llvm.org> wrote:
>
>> Do you have a list of the tests that fail, and why? It would be
>> interesting to understand whether those failures are accurate (and we
>> should fix libc++), or whether the tests are erroneous.
>>
>
> A list can be found in https://reviews.llvm.org/D65816
>
> -- Marshall
>
> _______________________________________________
> libcxx-dev mailing list
> libcxx-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20190806/0cb16c0a/attachment.html>


More information about the libcxx-dev mailing list