Skip to content

Commit

Permalink
Update test/lib from ruby/ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Mar 24, 2023
1 parent d8b9a84 commit 1101063
Show file tree
Hide file tree
Showing 4 changed files with 864 additions and 19 deletions.
11 changes: 9 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ require "bundler/gem_tasks"
require "rake/testtask"

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

task :sync_tool do
require 'fileutils'
FileUtils.cp "../ruby/tool/lib/test/unit/core_assertions.rb", "./test/lib"
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
end

task :default => :test

0 comments on commit 1101063

Please sign in to comment.