David L. Jones
d4053fb2ec
Change remaining references to lit.util.capture to use subprocess.check_output.
...
Summary:
The capture() function was removed in r306625. This should fix PGO breakages
reported by Michael Zolotukhin.
Reviewers: mzolotukhin
Subscribers: sanjoy, llvm-commits
Differential Revision: https://reviews.llvm.org/D35088
llvm-svn: 307320
2017-07-06 21:46:47 +00:00
Michal Gorny
391f221df6
[test] Extend llvm_shlib_dir fix to unittests
...
Extend the fix from rL286952 to unittests. The fix added clang built
library directories (via llvm_shlib_dir) to LD_LIBRARY_PATH.
The previous logic has used llvm_libs_dir only which points to installed
LLVM when doing stand-alone builds.
The patch also removes the redundant win32 code that is no longer
necessary now that shlibdir is used unconditionally.
Differential Revision: https://reviews.llvm.org/D27812
llvm-svn: 289865
2016-12-15 20:31:08 +00:00
NAKAMURA Takumi
b52c761a3c
Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming.
...
This makes unittests run with BUILD_SHARED_LIBS on DLL platforms.
llvm-svn: 212316
2014-07-04 05:11:55 +00:00
NAKAMURA Takumi
6ba3a64e70
Trailing linefeed
...
llvm-svn: 212312
2014-07-04 04:20:49 +00:00
Dmitri Gribenko
1bf8d9107b
libclang: fix a bug in processing invalid arguments, introduced in r201249
...
Recommit r201346, reverted in r201373.
llvm-svn: 201578
2014-02-18 15:20:02 +00:00
Daniel Dunbar
94ec6cc110
[tests] Update to use lit_config and lit package, as appropriate.
...
llvm-svn: 188072
2013-08-09 14:43:04 +00:00
Alexey Samsonov
c01f4f0d4d
Propagate path to ASan/MSan symbolizer into test environment to produce useful reports on errors.
...
llvm-svn: 178750
2013-04-04 07:41:20 +00:00
Evgeniy Stepanov
8d7d1b5377
Disable ASan/MSan symbolization of reports in tests.
...
It was using an instrumented symbolizer binary, which is a potential fork bomb.
llvm-svn: 178140
2013-03-27 13:11:46 +00:00
Alexey Samsonov
efb4168330
Fixup for r176934. More careful setup of path to llvm-symbolizer
...
llvm-svn: 177145
2013-03-15 07:29:58 +00:00
Evgeniy Stepanov
05826ed8a0
Set symbolizer path in the test environment.
...
This is needed to get symbolized stack traces when running Clang tests under (A|M)San.
llvm-svn: 176934
2013-03-13 07:10:36 +00:00
Daniel Dunbar
a60a269e67
test/Unit: Fixup lit.cfg to allow running inside test/Unit (with llvm-config in
...
path).
llvm-svn: 133653
2011-06-22 21:46:43 +00:00
Jeffrey Yasskin
cd3858b103
Add CMake support to the clang unittests.
...
llvm-svn: 125561
2011-02-15 07:54:28 +00:00
Jeffrey Yasskin
c7da993dee
Add gTest unittests to clang, and write the first one.
...
This is the Makefile version only; the cmake implementation is coming soon.
llvm-svn: 124777
2011-02-03 04:51:52 +00:00