Skip to content

Commit

Permalink
Use test-unit-ruby-core gem
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Sep 11, 2023
1 parent a9e0e6a commit f82ba79
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1,218 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ gem "rake-compiler", ">= 0.9"
gem "minitest", "< 5.0.0"
gem "irb"
gem "test-unit"
gem "test-unit-ruby-core"
19 changes: 0 additions & 19 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,3 @@ end

desc "Run all benchmarks"
task benchmark: benchmark_tasks

task :sync_tool do
require 'fileutils'

sync_files = [
"../ruby/tool/lib/core_assertions.rb",
"../ruby/tool/lib/find_executable.rb",
"../ruby/tool/lib/envutil.rb"
]

unless sync_files.all? {|fn| File.file?(fn) }
$stderr.puts "ruby/ruby must be git-cloned at ../ruby before running `rake sync_tool` here."
abort
end

sync_files.each do |file|
FileUtils.cp file, "./test/lib"
end
end

0 comments on commit f82ba79

Please sign in to comment.