diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-26 17:40:01 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-26 17:40:41 +0000 |
commit | bc8a71ea4fee6e4ed35dad245511508ac0b7bf4b (patch) | |
tree | d8a3a39c9f099bf4ae9e9eea074fdd15f9815e6b /t | |
parent | 667b05819b85165061c445fb2c75ef161a5de5b6 (diff) | |
download | rainbows-bc8a71ea4fee6e4ed35dad245511508ac0b7bf4b.tar.gz |
epoll is Linux-only right now. kqueue probably isn't worth supporting directly (and even direct epoll support is debatable given the current GVL situation)
Diffstat (limited to 't')
-rw-r--r-- | t/GNUmakefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile index 538065c..21b5154 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -19,8 +19,10 @@ endif RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))') export RUBY_VERSION RUBY_ENGINE -models += XAcceptEpoll -models += Epoll +ifeq (Linux,$(shell uname -s)) + models += XAcceptEpoll + models += Epoll +endif models += WriterThreadPool models += WriterThreadSpawn models += ThreadPool |