diff options
-rw-r--r-- | test/Driver/debug.c | 5 |
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). |