diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-08-26 10:42:44 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-08-26 12:15:47 +0900 |
commit | 9c2af0a171cb362ba3b1eb116b6fdb060cb62d2c (patch) | |
tree | b7e6405a4b408241e922d84347c18cb4663957ab /common.mk | |
parent | 0d9f4ea0d45f6577a4a13f898e981958a1f039c6 (diff) |
added test-syntax-suggest and prepare tasks
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6287
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1415,6 +1415,25 @@ BUNDLED_GEMS = test-bundled-gems-run: $(PREPARE_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 no-test-bundler-precheck: yes-test-bundler-precheck: main |