Skip to content

Commit bbf8b44

Browse files
hsbteregon
authored andcommitted
User assert_ractor for test case of Ractor
1 parent 883567f commit bbf8b44

File tree

5 files changed

+828
-16
lines changed

5 files changed

+828
-16
lines changed

Rakefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@ require "bundler/gem_tasks"
22
require "rake/testtask"
33

44
Rake::TestTask.new(:test) do |t|
5-
t.libs << "test" << "test/lib"
6-
t.libs << "lib"
5+
t.libs << "test/lib"
6+
t.ruby_opts << "-rhelper"
77
t.test_files = FileList["test/**/test_*.rb"]
88
end
99

10+
task :sync_tool do
11+
require 'fileutils'
12+
FileUtils.cp "../ruby/tool/lib/test/unit/core_assertions.rb", "./test/lib"
13+
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
14+
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
15+
end
16+
1017
task :default => :test

0 commit comments

Comments
 (0)