summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-22 14:21:33 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-22 15:03:06 +0900
commitfc7bd74843d73f8f65d0ab2f48e1c512f556da48 (patch)
treeac2ec387c3775b55b0251db2d6662e8b443d990f /Rakefile
parentf35ab5ee4cf6e3f1855885f86e8ed72d16752401 (diff)
downloadjson-fc7bd74843d73f8f65d0ab2f48e1c512f556da48.tar.gz
Import test assertions from ruby/ruby
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index f48c377..de330b1 100644
--- a/Rakefile
+++ b/Rakefile
@@ -99,7 +99,8 @@ task(:set_env_pure) { ENV['JSON'] = 'pure' }
UndocumentedTestTask.new do |t|
t.name = 'do_test_pure'
- t.libs << 'lib' << 'tests'
+ t.libs << 'lib' << 'tests' << 'tests/lib'
+ t.ruby_opts << "-rhelper"
t.test_files = FileList['tests/*_test.rb']
t.verbose = true
t.options = '-v'
@@ -252,7 +253,8 @@ else
UndocumentedTestTask.new do |t|
t.name = 'do_test_ext'
- t.libs << 'ext' << 'lib' << 'tests'
+ t.libs << 'lib' << 'tests' << "tests/lib"
+ t.ruby_opts << '-rhelper'
t.test_files = FileList['tests/*_test.rb']
t.verbose = true
t.options = '-v'