]> granicus.if.org Git - clang/commitdiff
clang/test/lit.cfg: Disable dev-fd-fs on cygwin for now.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 27 Nov 2012 05:25:41 +0000 (05:25 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 27 Nov 2012 05:25:41 +0000 (05:25 +0000)
open("/dev/fd/1-foobar") fails with EEXIST on cygwin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168676 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 1180f72f5bfe40b8d0e33a3ecb457cd5c7e806e3..1a4fcbdec79b6fef837f42661e2f5f0427c8fc43 100644 (file)
@@ -238,7 +238,7 @@ if is_filesystem_case_insensitive():
     config.available_features.add('case-insensitive-filesystem')
 
 # Tests that require the /dev/fd filesystem.
-if os.path.exists("/dev/fd/0"):
+if os.path.exists("/dev/fd/0") and sys.platform not in ['cygwin']:
     config.available_features.add('dev-fd-fs')
 
 # [PR8833] LLP64-incompatible tests