diff options
Diffstat (limited to 'test/Driver/debug.c')
-rw-r--r-- | test/Driver/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Driver/debug.c b/test/Driver/debug.c index 2ed8921769..66b2f0d5db 100644 --- a/test/Driver/debug.c +++ b/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 |