From 7c396fbd05d01ee5cb1c92def09049db3a3cec9f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 20 Feb 2009 20:34:59 -0800 Subject: Replace unicorn binary with something rackup-like This adds a bunch of execution tests that require the "unicorn" binary to be in PATH as well as rack being directly "require"-able ("rubygems" will not be loaded for you). The tester is responsible for setting up PATH and RUBYLIB appropriately. --- Rakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index f50fd6c..b350f74 100644 --- a/Rakefile +++ b/Rakefile @@ -10,13 +10,14 @@ Echoe.new("unicorn") do |p| p.url = "http://unicorn.bogomips.org" p.rdoc_pattern = ['README', 'LICENSE', 'CONTRIBUTORS', 'CHANGELOG', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc'] p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/ - p.extension_pattern = nil - p.need_tar_gz = false p.need_tgz = true p.extension_pattern = ["ext/**/extconf.rb"] + # Eric hasn't bothered to figure out running exec tests properly + # from Rake, but Eric prefers GNU make to Rake for tests anyways... + p.test_pattern = [ 'test/unit/test*.rb' ] end #### Ragel builder -- cgit v1.2.3-24-ge0c7