From e3dcb6204d66c62aedaf94cac336d93d0275ce2c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 10 Aug 2021 12:38:59 +0900 Subject: [PATCH] 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 37924b3b71..557e43b59b 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -356,7 +356,7 @@ spec/bundler/%: PHONY 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