aboutsummaryrefslogtreecommitdiff
path: root/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
commitba81d966fb9afc6e2a3144107fe605ed022e4cfe (patch)
tree9eefa37e840a717ccc4754028155f15cf4d7d5d2 /test/Driver/debug.c
parent813a40750f7e8cd1e09a8aa1091283224a6adf21 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/debug.c')
-rw-r--r--test/Driver/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Driver/debug.c b/test/Driver/debug.c
index 0f5ce2a39e..ca1ca30ae6 100644
--- a/test/Driver/debug.c
+++ b/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