diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-03-02 22:42:58 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-03-02 22:42:58 +0000 |
commit | fec792a0af1e2c79c42a69927467edac4343d429 (patch) | |
tree | 42d9fdb9c47ba652d33436497073cfa055c8b25f /test/Driver/debug.c | |
parent | ab5cb55730ad27c9d711229d686aa0de994788dd (diff) | |
download | clang-fec792a0af1e2c79c42a69927467edac4343d429.tar.gz |
Remove shell requirements from tests that use 'cd'
Modules and Tooling tests in particular tend to want to change the cwd,
so we were missing test coverage in this area on Windows. It should now
be easier to write such portable tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/debug.c')
-rw-r--r-- | test/Driver/debug.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/Driver/debug.c b/test/Driver/debug.c index daf895c18a..5bf3b9295a 100644 --- a/test/Driver/debug.c +++ b/test/Driver/debug.c @@ -1,8 +1,2 @@ // RUN: cd %S && %clang -### -g %s -c 2>&1 | FileCheck -check-prefix=CHECK-PWD %s // CHECK-PWD: {{"-fdebug-compilation-dir" ".*Driver.*"}} - -// "PWD=/foo gcc" wouldn't necessarily work. You would need to pick a different -// path to the same directory (try a symlink). - -// This depends on host's behavior how $PWD would be set. -// REQUIRES: shell |