]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: turn back on reactor=poll for cygwin trial (else it runs out of fds)
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 30 Jul 2008 18:12:17 +0000 (11:12 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 30 Jul 2008 18:12:17 +0000 (11:12 -0700)
Makefile

index 682db2ff1a4efb0805044edd3232fb6dba8eb9d1..328844c669a08a18570b9aa4e806c950fa924aa8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,13 @@ else
                        REACTOR := poll
                endif
        endif
+       ifeq ($(PLAT),cygwin)
+               # The cygwin select reactor seems to run out of fds in unit tests -- it writes "filedescriptor
+               # out of range in select()".  Setting reactor=poll fixes that.
+               ifeq ($(REACTOR),)
+                       REACTOR := poll
+               endif
+       endif
        PYVER=$(shell $(PYTHON) misc/pyver.py)
        SUPPORT = $(shell pwd)/support
        SUPPORTLIB = $(SUPPORT)/lib/$(PYVER)/site-packages