diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2009-02-28 21:19:37 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2009-02-28 21:19:37 +0100 |
commit | 0a8b6ea5dc6a9d56638b985dd67b0c45f167e381 (patch) | |
tree | 1932cb877c3e623f9a300c37971bb4e073670aea /tasks/test.rake | |
parent | 50bb456cf469f73d3a32474dc07bd58c0c64dba1 (diff) | |
download | mmap-ruby-master.zip mmap-ruby-master.tar.gz |
Diffstat (limited to 'tasks/test.rake')
-rw-r--r-- | tasks/test.rake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tasks/test.rake b/tasks/test.rake new file mode 100644 index 0000000..149706d --- /dev/null +++ b/tasks/test.rake @@ -0,0 +1,12 @@ + +require 'rake/testtask' + +# TEST TASK +test_task_name = HAVE_EXT ? :test_ext : :test +Rake::TestTask.new( test_task_name ) do |t| + t.libs = REQUIRE_PATHS + t.test_files = TEST_FILES + t.verbose = false +end + +task :test_ext => :make_ext if HAVE_EXT |