Skip to content

Commit 4237046

Browse files
committed
Build tests now install RSpec when running tests.
1 parent 45e2214 commit 4237046

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build-tests/runner.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
RSPEC = "rspec --default-path #{TEST_PATH} -fd --color --seed 0"
3232

33+
INSTALL_RSPEC_COMMAND = 'gem install rspec'
34+
3335
UNINSTALL_GEMS_COMMAND = <<-CMD
3436
gem uninstall -q -a -I concurrent-ruby-ext
3537
gem uninstall -q -a -I concurrent-ruby
@@ -86,6 +88,9 @@ def run_test_suite(files, ext, platform = '')
8688
ok = system(UNINSTALL_GEMS_COMMAND)
8789
end
8890

91+
ok = system(INSTALL_RSPEC_COMMAND)
92+
ok = system(UNINSTALL_GEMS_COMMAND)
93+
8994
puts SUITE_BREAK
9095
run_test_suite(TEST_FILES, false)
9196
if jruby?

0 commit comments

Comments
 (0)