diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-20 20:34:59 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-21 04:23:39 -0800 |
commit | 7c396fbd05d01ee5cb1c92def09049db3a3cec9f (patch) | |
tree | 03e08f146565035d1604d58c06524132e312b11a /Rakefile | |
parent | 38141ffdd3bda01dabfdd8ff8f065c783053c86a (diff) | |
download | unicorn-7c396fbd05d01ee5cb1c92def09049db3a3cec9f.tar.gz |
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.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |