summaryrefslogtreecommitdiffstats
path: root/clang/test/Unit/lit.cfg.py
Commit message (Collapse)AuthorAgeFilesLines
* [lit] Set shlibpath_var on AIXHubert Tong2019-03-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Summary: When building the `check-all` target on AIX, lit produces ``` warning: unable to inject shared library path on 'AIX' ``` This patch addresses this. `LIBPATH` is the environment variable of interest on AIX. Newer versions of AIX may consider `LD_LIBRARY_PATH`, but only when `LIBPATH` is unset. Reviewers: xingxue, jasonliu, sfertile, serge-sans-paille Reviewed By: xingxue Subscribers: jsji, cfe-commits, llvm-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D59741 llvm-svn: 357334
* [lit] Set shlibpath_var on SolarisFedor Sergeev2017-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Summary: During make check-all on Solaris, lit complains llvm-lit: /vol/gcc/src/llvm/llvm/dist/tools/clang/test/Unit/lit.cfg.py:57: warning: unable to inject shared library path on 'SunOS' The following patch avoids this: Solaris uses LD_LIBRARY_PATH like several other targets. In theory, one could also handle LD_LIBRARY_PATH_{32,64} which take precedence over LD_LIBRARY_PATH if set, but let's cross that bridge when we get there. Patch by Rainer Orth. Reviewers: rsmith, lichray Reviewed By: lichray Differential Revision: https://reviews.llvm.org/D39640 llvm-svn: 319026
* [test] Fix clang-test for FreeBSD and NetBSDTim Shen2017-10-241-14/+20
| | | | | | | | | | | | | | | | Lit tries to inject the shared library paths, but no action is taken when platform.system() is not recognized, results in an environment variable with an empty name, which is illegal. The patch fixes this mechanism for FreeBSD and NetBSD, and gives an warning on other platforms, so that the latecomers don't have to spend time on debugging lit. Thanks Zhihao Yuan for the patch! Differential Revision: https://reviews.llvm.org/D39162 llvm-svn: 316411
* [lit] Rename lld and clang lit configs to end in .pyZachary Turner2017-09-211-0/+51
This follows in line with a previous patch of renaming LLVM's. Working on these files is difficult in certain operating systems and/or environments that don't like handling python code with a non .py file extension. llvm-svn: 313892
OpenPOWER on IntegriCloud