1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ruby-prof is now optional

This commit is contained in:
Hiroshi SHIBATA 2022-08-26 10:49:11 +09:00
parent 9c2af0a171
commit bd1b1eeb0e
Notes: git 2022-08-26 12:16:17 +09:00
2 changed files with 5 additions and 2 deletions

View file

@ -1423,7 +1423,7 @@ no-test-syntax-suggest-prepare: no-test-syntax-suggest-precheck
yes-test-syntax-suggest-prepare: yes-test-syntax-suggest-precheck
$(ACTIONS_GROUP)
$(XRUBY) -C "$(srcdir)" bin/gem install --no-document \
--install-dir .bundle --conservative "bundler" "rake" "rspec:~> 3" "ruby-prof"
--install-dir .bundle --conservative "bundler" "rake" "rspec:~> 3" #"ruby-prof"
$(ACTIONS_ENDGROUP)
RSPECOPTS =

View file

@ -1,7 +1,10 @@
# frozen_string_literal: true
require_relative "../spec_helper"
begin
require "ruby-prof"
rescue LoadError
end
module SyntaxSuggest
RSpec.describe "Top level SyntaxSuggest api" do