From: Zooko O'Whielacronx Date: Wed, 30 Jul 2008 02:39:06 +0000 (-0700) Subject: setup: pass --reactor=poll to trial unless REACTOR variable is set, in which case... X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22doc.html/COPYING.GPL?a=commitdiff_plain;h=3eb5f221d7ed217bb334d42389b01cf88919ebcd;p=tahoe-lafs%2Ftahoe-lafs.git setup: pass --reactor=poll to trial unless REACTOR variable is set, in which case pass --reactor=$(REACTOR) This hopefully works around the problem that Twisted v8.1.0 has a bug when used with pyOpenSSL v0.7 which bug causes some unit tests to spuriously fail -- see known_issues.txt r2788: http://allmydata.org/trac/tahoe/browser/docs/known_issues.txt?rev=2788#L122 Also it matches with the fact that --reactor=poll is required on cygwin. --- diff --git a/Makefile b/Makefile index 280f7864..0b3906a1 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,6 @@ PYTHON=python PATHSEP=$(shell $(PYTHON) -c 'import os ; print os.pathsep') OSSEP=$(shell $(PYTHON) -c 'import os ; print os.sep') -REACTOR= - ifneq ($(INCLUDE_DIRS),) INCLUDE_DIRS_ARG = -I$(INCLUDE_DIRS) endif @@ -31,14 +29,10 @@ else CHECK_PYWIN32_DEP := endif -ifeq ($(PLAT),cygwin) -REACTOR = poll -endif - ifneq ($(REACTOR),) REACTOROPT := --reactor=$(REACTOR) else - REACTOROPT := + REACTOROPT := --reactor=poll endif ifneq ($(PYTHONPATH),)