diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-21 03:07:40 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-21 03:07:40 +0000 |
| commit | 99cc8c01ee6421d634b4cb47ac0c89d952e36785 (patch) | |
| tree | 5cb5c3e1ddc69f7e2f0caa7c045888ddbb4b96e4 | |
| parent | 95e74be193e6e46b6a60bed9bd36a5104047913b (diff) | |
| download | bcm5719-llvm-99cc8c01ee6421d634b4cb47ac0c89d952e36785.tar.gz bcm5719-llvm-99cc8c01ee6421d634b4cb47ac0c89d952e36785.zip | |
Massage this test a little so it works when run inside the Google environment.
llvm-svn: 142635
| -rw-r--r-- | clang/test/Driver/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/debug.c b/clang/test/Driver/debug.c index 2ed8921769f..66b2f0d5db2 100644 --- a/clang/test/Driver/debug.c +++ b/clang/test/Driver/debug.c @@ -1,4 +1,4 @@ -// RUN: %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "'%S'"' +// RUN: cd %S && %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "'%S'"' // RUN: PWD=/foo %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "/foo"' // This test uses grep instead of FileCheck so that we get %S -> dirname |

