summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/debug.c')
-rw-r--r--clang/test/Driver/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Driver/debug.c b/clang/test/Driver/debug.c
index 66b2f0d5db2..e7830b961ea 100644
--- a/clang/test/Driver/debug.c
+++ b/clang/test/Driver/debug.c
@@ -1,4 +1,5 @@
// RUN: cd %S && %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "'%S'"'
+// RUN: (sv PWD=/foo && %clang -### -g %s -c 2>&1 | grep '"-fdebug-compilation-dir" "/foo"') || \
// 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
OpenPOWER on IntegriCloud