diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-10-14 01:41:56 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-10-14 01:41:56 +0000 |
commit | 1f1703f5c7a282601055b645d3e2b4822e20f7da (patch) | |
tree | cc55ce0071dec3f5edbdba28b78792cdd98264e5 /clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp | |
parent | d0bfedf8e503faceea5a6c97d4ea00194cd8cb9b (diff) | |
download | bcm5719-llvm-1f1703f5c7a282601055b645d3e2b4822e20f7da.tar.gz bcm5719-llvm-1f1703f5c7a282601055b645d3e2b4822e20f7da.zip |
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
Diffstat (limited to 'clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp')
-rw-r--r-- | clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp b/clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp index 6a97f310ff3..4859372008e 100644 --- a/clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp +++ b/clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp @@ -4,7 +4,7 @@ // RUN: cp "%s" "%t/abc/def/ijk/qwe/test.cpp" // RUN: ln -sf %t/abc/def %t/abc/def2 // RUN: cd %t/abc/def2 -// RUN: not env PWD="%t/abc/def" clang-check "ijk/qwe/test.cpp" 2>&1 | FileCheck %s +// RUN: env PWD="%t/abc/def" not clang-check "ijk/qwe/test.cpp" 2>&1 | FileCheck %s // CHECK: C++ requires // CHECK: /abc/def/ijk/qwe/test.cpp |