ruby-changes:67108
From: Nobuyoshi <ko1@a...>
Date: Tue, 10 Aug 2021 14:23:20 +0900 (JST)
Subject: [ruby-changes:67108] e3dcb6204d (master): Run only directories or *_spec.rb files only by mspec [Bug #18072]
https://git.ruby-lang.org/ruby.git/commit/?id=e3dcb6204d From e3dcb6204d66c62aedaf94cac336d93d0275ce2c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 10 Aug 2021 12:38:59 +0900 Subject: Run only directories or *_spec.rb files only by mspec [Bug #18072] Not to match *.c files under spec/ruby/optional/capi/ext, in the case of in-place build. --- defs/gmake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defs/gmake.mk b/defs/gmake.mk index 37924b3..557e43b 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -356,7 +356,7 @@ spec/bundler/%: PHONY https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L356 spec/bundler: test-bundler-parallel $(Q)$(NULLCMD) -spec/%: programs exts PHONY +spec/%/ spec/%_spec.rb: programs exts PHONY +$(RUNRUBY) -r./$(arch)-fake $(srcdir)/spec/mspec/bin/mspec-run -B $(srcdir)/spec/default.mspec $(SPECOPTS) $(patsubst %,$(srcdir)/%,$@) benchmark/%: miniruby$(EXEEXT) update-benchmark-driver PHONY -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/