diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-10-21 23:37:41 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-10-21 23:37:41 +0000 |
commit | c3afe1f8afbfd5527450f94fd34dc96ddf01ca7f (patch) | |
tree | 5229c35fc6518df793f7f3b8822e849916938304 /clang/test/Driver/debug.c | |
parent | 4b4beb2fe70f7da8bb9fe7b81ecbe6a2c9c6e612 (diff) | |
download | bcm5719-llvm-c3afe1f8afbfd5527450f94fd34dc96ddf01ca7f.tar.gz bcm5719-llvm-c3afe1f8afbfd5527450f94fd34dc96ddf01ca7f.zip |
More speculative test tweaking
llvm-svn: 142701
Diffstat (limited to 'clang/test/Driver/debug.c')
-rw-r--r-- | clang/test/Driver/debug.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/test/Driver/debug.c b/clang/test/Driver/debug.c index 97f00d9b18a..a3c343bc83d 100644 --- a/clang/test/Driver/debug.c +++ b/clang/test/Driver/debug.c @@ -2,10 +2,7 @@ // CHECK-PWD: {{"-fdebug-compilation-dir" ".*Driver.*"}} // RUN: env PWD=/foo %clang -### -g %s -c 2>&1 | FileCheck -check-prefix=CHECK-FOO %s -// CHECK-FOO: "-fdebug-compilation-dir" "/foo" - -// This test uses grep instead of FileCheck so that we get %S -> dirname -// substitution. +// CHECK-FOO: {{"-fdebug-compilation-dir" ".*foo"}} // "PWD=/foo gcc" wouldn't necessarily work. You would need to pick a different // path to the same directory (try a symlink). |