diff options
author | Benoit Daloze <eregontp@gmail.com> | 2020-12-27 17:35:30 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2020-12-27 17:35:30 +0100 |
commit | 267bed0cd91711e2a8c79219e97431ba22137b01 (patch) | |
tree | 4c561b40d52c8ee5d9d651b6d6abc3124bf7761f /spec/mspec/tool/sync | |
parent | a042043487eb4c7d39307b8e784ede1856455c3e (diff) |
Update to ruby/mspec@a40a674
Diffstat (limited to 'spec/mspec/tool/sync')
-rw-r--r-- | spec/mspec/tool/sync/sync-rubyspec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/mspec/tool/sync/sync-rubyspec.rb b/spec/mspec/tool/sync/sync-rubyspec.rb index 93e0f538ba..7f3dc0e611 100644 --- a/spec/mspec/tool/sync/sync-rubyspec.rb +++ b/spec/mspec/tool/sync/sync-rubyspec.rb @@ -1,3 +1,6 @@ +# This script is based on commands from the wiki: +# https://github.com/ruby/spec/wiki/Merging-specs-from-JRuby-and-other-sources + IMPLS = { truffleruby: { git: "https://github.com/oracle/truffleruby.git", @@ -173,7 +176,7 @@ def test_new_specs versions = versions.grep(/^\d+\./) # Test on MRI min_version, max_version = versions.minmax - test_command = MSPEC ? "bundle exec rspec" : "../mspec/bin/mspec -j" + test_command = MSPEC ? "bundle install && bundle exec rspec" : "../mspec/bin/mspec -j" run_test = -> version { command = "chruby #{version} && #{test_command}" |