summaryrefslogtreecommitdiffstats
path: root/tasks/test.rake
blob: 149706da65a4ed9fd29ad93fe84765cb2fdbb9a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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