Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use test-unit-ruby-core gem #269

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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