diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-10 18:10:13 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-10 18:10:13 +0900 |
commit | 01dda86681385f1eb55e4d4494bfc264a2a3c968 (patch) | |
tree | e8fb62811bfdeed70e23c6e8fa82de28407a180f /Rakefile | |
parent | 9d5de51f6aa042cde24579534b465fee585fde4a (diff) | |
download | psych-01dda86681385f1eb55e4d4494bfc264a2a3c968.zip |
Import test assertions from ruby/ruby
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -3,8 +3,8 @@ Bundler::GemHelper.install_tasks require "rake/testtask" Rake::TestTask.new(:test) do |t| - t.libs << "test" - t.libs << "lib" + t.libs << "test/lib" << "test" + t.ruby_opts << "-rhelper" t.test_files = FileList['test/**/test_*.rb'] t.verbose = true t.warning = true @@ -31,4 +31,11 @@ else Rake::ExtensionTask.new("psych") 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 => [:compile, :test] |