Skip to content

Commit

Permalink
Use the latest version of CoreAssertions and test-unit gem
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jun 29, 2021
1 parent 9aab590 commit a907bcb
Show file tree
Hide file tree
Showing 5 changed files with 1,167 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@ require "rake/testtask"
Rake::TestTask.new(:test) do |t|
t.libs << "test" << "test/lib"
t.libs << "lib"
t.ruby_opts << "-rhelper"
t.test_files = FileList["test/irb/test_*.rb"]
end

Rake::TestTask.new(:test_yamatanooroti) do |t|
t.libs << 'test'
t.libs << 'test' << "test/lib"
t.libs << 'lib'
#t.loader = :direct
t.ruby_opts << "-rhelper"
t.pattern = 'test/irb/yamatanooroti/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
Loading

0 comments on commit a907bcb

Please sign in to comment.