Commit Graph

9 Commits

Author SHA1 Message Date
Benjamin Kramer a14e3d2ace Back out the test case for r266973 for now.
It breaks on windows, need to investigate. It's not testing the
important part of that change anyways.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266975 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-21 10:46:14 +00:00
Benjamin Kramer 1aa3f7b4ed [Tooling] Inject -resource-dir instead of overwriting argv[0].
This allows using a different standard library (the one from argv[0] in
the compilation database) with the correct builtins.

Differential Revision: http://reviews.llvm.org/D19356

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266973 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-21 10:18:18 +00:00
Rafael Espindola 96e7813f08 Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of
using pipefail.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185652 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-04 16:16:58 +00:00
Aaron Ballman 78a2a5a17a As of r180836, these tests should no longer be XFAILed on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180853 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-01 15:16:52 +00:00
Manuel Klimek 8fa2fb859a Adds support for auto-detection of compilation databases
from a source file and changes clang-check to make use of this.

This makes clang-check just work on in-tree builds, and allows
easy setup via a symlink per source directory to make clang-check
work without any extra configuration.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159990 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-10 13:10:51 +00:00
NAKAMURA Takumi 8cf93ec4e4 clang/test/Tooling: Tweak 4 tests to escape the path separator s/\\/\\\\/g in JSON.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157351 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-23 22:24:27 +00:00
NAKAMURA Takumi 1de76babf4 clang/test/Tooling: Remark as XFAIL again in 5 tests for msvc hosts.
FIXME: JSON doesn't like path separator '\', on Win32 hosts.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156957 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-16 22:14:14 +00:00
NAKAMURA Takumi 7e2a01ef82 clang/test/Tooling: Remove XFAIL in 5 tests to unveil the real failure.
FYI, they can pass on Cygwin w/o any tweaks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156930 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-16 17:38:04 +00:00
Manuel Klimek 3e8479d97f Fixes the header search logic for tools:
The driver needs to get the correct path to the executable to deduce
the header search path.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155542 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-25 09:25:41 +00:00