about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-20 20:34:59 -0800
committerEric Wong <normalperson@yhbt.net>2009-02-21 04:23:39 -0800
commit7c396fbd05d01ee5cb1c92def09049db3a3cec9f (patch)
tree03e08f146565035d1604d58c06524132e312b11a /Rakefile
parent38141ffdd3bda01dabfdd8ff8f065c783053c86a (diff)
downloadunicorn-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--Rakefile5
1 files changed, 3 insertions, 2 deletions
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