summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/debug.c
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-22 11:28:32 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-22 11:28:32 +0000
commit084e45bc3707a01880c95aa26ad800252c2ae0a2 (patch)
treea3672e2c0725c350292a0d41802700a5e59f1438 /clang/test/Driver/debug.c
parentb5e6fa294996243cb322ab192bee095e8d967873 (diff)
downloadbcm5719-llvm-084e45bc3707a01880c95aa26ad800252c2ae0a2.tar.gz
bcm5719-llvm-084e45bc3707a01880c95aa26ad800252c2ae0a2.zip
test/Driver/debug.c: Mark this as "REQUIRES: shell".
Former RUN line does not make sense on Win32 hosts. Win32 hosts would not be expected to set appropriate $PWD. Latter RUN line might be made valid if PathV2::is_absolute("/foo") would be true. Unfortunately, "/foo" should not be treated as absolute path on Win32. FYI, on mingw32 with MSYS bash (it has 'shell' feature); Former) $PWD is set as "X:/hogehoge/test/Driver" Latter) PWD=/foo sets "X:/root/to/msys/foo" to $PWD. llvm-svn: 142721
Diffstat (limited to 'clang/test/Driver/debug.c')
-rw-r--r--clang/test/Driver/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Driver/debug.c b/clang/test/Driver/debug.c
index 0f5ce2a39ea..ca1ca30ae6b 100644
--- a/clang/test/Driver/debug.c
+++ b/clang/test/Driver/debug.c
@@ -7,4 +7,5 @@
// "PWD=/foo gcc" wouldn't necessarily work. You would need to pick a different
// path to the same directory (try a symlink).
-// XFAIL: win32
+// This depends on host's behavior how $PWD would be set.
+// REQUIRES: shell
OpenPOWER on IntegriCloud