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

Taewook Oh via libcxx-dev libcxx-dev at lists.llvm.org
Mon Aug 5 18:20:12 PDT 2019


It seems that several of libcxx unit tests are failing when running under sudo (sudo ninja check-libcxx). For example, some of the tests check the permission of the file/directory after the filesystem operation, but sudo privilege overrides it. I wonder if it’s possible to guard a test based on the user’s privilege? Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20190806/b3621ca4/attachment.html>

More information about the libcxx-dev mailing list