diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-12-22 14:21:33 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-12-22 15:03:06 +0900 |
commit | fc7bd74843d73f8f65d0ab2f48e1c512f556da48 (patch) | |
tree | ac2ec387c3775b55b0251db2d6662e8b443d990f /Rakefile | |
parent | f35ab5ee4cf6e3f1855885f86e8ed72d16752401 (diff) | |
download | json-fc7bd74843d73f8f65d0ab2f48e1c512f556da48.tar.gz |
Import test assertions from ruby/ruby
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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' |