[PATCH] D39162: [test] Fix clang-test for FreeBSD and NetBSD
Zachary Turner via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 22 15:42:52 PDT 2017
Because this is not tge only part of ghe library search algorithm, and it’s
not necessarily an error if the variable isn’t set
On Sun, Oct 22, 2017 at 1:56 PM Zhihao Yuan via Phabricator <
reviews at reviews.llvm.org> wrote:
> lichray marked an inline comment as done.
> lichray added a comment.
>
> In https://reviews.llvm.org/D39162#903179, @zturner wrote:
>
> > Please don't throw an exception here. Instead, write this as:
> >
> > lit_config.warning('Unable to determine shared library path variable
> for platform {}'.format(platform.system()))
> >
> >
>
>
> Why a warning rather than fatal?
>
>
> https://reviews.llvm.org/D39162
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171022/849fc0cf/attachment-0001.html>
More information about the cfe-commits
mailing list