mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
added test-syntax-suggest and prepare tasks
This commit is contained in:
parent
0d9f4ea0d4
commit
9c2af0a171
Notes:
git
2022-08-26 12:16:17 +09:00
1 changed files with 19 additions and 0 deletions
19
common.mk
19
common.mk
|
@ -1415,6 +1415,25 @@ BUNDLED_GEMS =
|
||||||
test-bundled-gems-run: $(PREPARE_BUNDLED_GEMS)
|
test-bundled-gems-run: $(PREPARE_BUNDLED_GEMS)
|
||||||
$(gnumake_recursive)$(Q) $(XRUBY) $(tooldir)/test-bundled-gems.rb $(BUNDLED_GEMS)
|
$(gnumake_recursive)$(Q) $(XRUBY) $(tooldir)/test-bundled-gems.rb $(BUNDLED_GEMS)
|
||||||
|
|
||||||
|
test-syntax-suggest-precheck: $(TEST_RUNNABLE)-test-syntax-suggest-precheck
|
||||||
|
no-test-syntax-suggest-precheck:
|
||||||
|
yes-test-syntax-suggest-precheck: main
|
||||||
|
|
||||||
|
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"
|
||||||
|
$(ACTIONS_ENDGROUP)
|
||||||
|
|
||||||
|
RSPECOPTS =
|
||||||
|
SYNTAX_SUGGEST_SPECS =
|
||||||
|
test-syntax-suggest: $(TEST_RUNNABLE)-test-syntax-suggest
|
||||||
|
yes-test-syntax-suggest: yes-test-syntax-suggest-prepare
|
||||||
|
$(XRUBY) -C $(srcdir) -Ispec/syntax_suggest .bundle/bin/rspec \
|
||||||
|
--require spec_helper $(RSPECOPTS) spec/syntax_suggest/$(SYNTAX-SUGGEST_SPECS)
|
||||||
|
no-test-syntax-suggest:
|
||||||
|
|
||||||
test-bundler-precheck: $(TEST_RUNNABLE)-test-bundler-precheck
|
test-bundler-precheck: $(TEST_RUNNABLE)-test-bundler-precheck
|
||||||
no-test-bundler-precheck:
|
no-test-bundler-precheck:
|
||||||
yes-test-bundler-precheck: main
|
yes-test-bundler-precheck: main
|
||||||
|
|
Loading…
Reference in a new issue