summaryrefslogtreecommitdiff
path: root/test/Driver/debug.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-10-21 23:37:41 +0000
committerDouglas Gregor <dgregor@apple.com>2011-10-21 23:37:41 +0000
commit60419fa4e3c210885f0c28355922a59e8ee2f8f0 (patch)
treeb81a5d98919bc5835d3e8a91f733200e76001d10 /test/Driver/debug.c
parent06253664315307d34ab57b892b6a0c6c5b3153bb (diff)
downloadclang-60419fa4e3c210885f0c28355922a59e8ee2f8f0.tar.gz
More speculative test tweaking
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142701 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/debug.c')
-rw-r--r--test/Driver/debug.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/Driver/debug.c b/test/Driver/debug.c
index 97f00d9b18..a3c343bc83 100644
--- a/test/Driver/debug.c
+++ b/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).