diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-21 04:04:49 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-21 04:04:49 +0000 |
commit | 90a47b127b19e6c41af5dfa732d3943e84c50b42 (patch) | |
tree | 671b5b3484f2dcd621e322cbb5bccecc739989d6 /clang/test/Driver/debug.c | |
parent | 60060d6f8fd1a9e50d6c635d99736e70328ab6f3 (diff) | |
download | bcm5719-llvm-90a47b127b19e6c41af5dfa732d3943e84c50b42.tar.gz bcm5719-llvm-90a47b127b19e6c41af5dfa732d3943e84c50b42.zip |
Try to be exceedingly clever and make this test work properly whether it's run
under bash or under cmd.exe.
llvm-svn: 142637
Diffstat (limited to 'clang/test/Driver/debug.c')
-rw-r--r-- | clang/test/Driver/debug.c | 1 |
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 |