Nico Weber
1f1703f5c7
Prefer 'env not' over 'not env' in tests.
...
That way, lit's builtin 'env' command can be used for the 'env' bit.
Also it's clearer that way that the 'not' shouldn't cover 'env'
failures.
llvm-svn: 374749
2019-10-14 01:41:56 +00:00
NAKAMURA Takumi
69e32f4562
clang/test/Tooling: Remove mention to PR15590 out of a couple of tests. They are suppressed with another issue.
...
llvm-svn: 221267
2014-11-04 13:32:29 +00:00
Rafael Espindola
c7367ffdab
Simplify now that llvm::sys::current_path checks $PWD.
...
llvm-svn: 188128
2013-08-10 01:40:10 +00:00
Rafael Espindola
925213b0fa
Add 'not' to commands that are expected to fail.
...
This is at least good documentation, but also opens the possibility of
using pipefail.
llvm-svn: 185652
2013-07-04 16:16:58 +00:00
Jordan Rose
4fec903717
Use 'env' in tests that set environment variables.
...
Patch by David Fang!
llvm-svn: 181861
2013-05-15 01:45:37 +00:00
Fariborz Jahanian
b0d81f8626
Added PR number for failing win64 tests.
...
llvm-svn: 177886
2013-03-25 18:56:45 +00:00
Fariborz Jahanian
c56ae1b677
These tests fail on our Window64 machine.
...
Feel free to revert them (or let me know and I will revert)
if they shouldn't be.
llvm-svn: 177743
2013-03-22 17:42:39 +00:00
Manuel Klimek
65fd0e1fd3
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.
llvm-svn: 159990
2012-07-10 13:10:51 +00:00
NAKAMURA Takumi
2e8124b6df
clang/test/Tooling: Tweak 4 tests to escape the path separator s/\\/\\\\/g in JSON.
...
llvm-svn: 157351
2012-05-23 22:24:27 +00:00
NAKAMURA Takumi
c910b6d075
test/Tooling/clang-check-pwd.cpp: Mark as XFAIL:mingw for now. Fixing is work-in-progress.
...
llvm-svn: 157170
2012-05-20 22:28:03 +00:00
NAKAMURA Takumi
fe3fa7867e
clang/test/Tooling/clang-check-pwd.cpp: Add "REQUIRES: shell".
...
This passes on MSYS bash and Cygwin.
llvm-svn: 156929
2012-05-16 17:37:56 +00:00
Kaelyn Uhrain
606b5291e5
Fix quoting to allow shell expansion to occur for shell variables
...
introduced by the test harness' expansion of %t.
llvm-svn: 154443
2012-04-10 22:27:27 +00:00
Manuel Klimek
1baf89eac9
Fix tautological FileCheck by moving the CHECK to an extra line.
...
llvm-svn: 154393
2012-04-10 12:12:33 +00:00
Manuel Klimek
35fa2655dd
Implementing a test for the use of PWD to base finding the
...
correct compile commands on, based on an idea by Jordan Rose.
llvm-svn: 154335
2012-04-09 19:10:04 +00:00