summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2015-06-13 12:22:44 +0200
committerFlorian Frank <flori@ping.de>2015-06-13 12:22:44 +0200
commita4d6f51b75ac00ac4f4960b96fae3dbcff173875 (patch)
treea5bdf558c009193c0298a3cd253ad76b344d4c96 /Rakefile
parentdb4c71a7701b95c30f945ee1536240920dcfdc17 (diff)
downloadjson-a4d6f51b75ac00ac4f4960b96fae3dbcff173875.tar.gz
Move common setup into test_helper.rb
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 1d13c2c..98b749d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -178,7 +178,7 @@ task :test_pure => [ :clean, :do_test_pure ]
UndocumentedTestTask.new do |t|
t.name = 'do_test_pure'
- t.libs << 'lib'
+ t.libs << 'lib' << 'tests'
t.test_files = FileList['tests/test_*.rb']
t.verbose = true
t.options = '-v'
@@ -261,7 +261,7 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
UndocumentedTestTask.new do |t|
t.name = 'do_test_ext'
- t.libs << 'lib'
+ t.libs << 'lib' << 'tests'
t.test_files = FileList['tests/test_*.rb']
t.verbose = true
t.options = '-v'
@@ -335,7 +335,7 @@ else
UndocumentedTestTask.new do |t|
t.name = 'do_test_ext'
- t.libs << 'ext' << 'lib'
+ t.libs << 'ext' << 'lib' << 'tests'
t.test_files = FileList['tests/test_*.rb']
t.verbose = true
t.options = '-v'