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.

llvm-svn: 168676

clang/test/lit.cfg

index 1180f72..1a4fcbd 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