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

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.
This commit is contained in:
Nobuyoshi Nakada 2021-08-10 12:38:59 +09:00
parent 8df1ace64a
commit e3dcb6204d
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -356,7 +356,7 @@ spec/bundler/%: PHONY
spec/bundler: test-bundler-parallel spec/bundler: test-bundler-parallel
$(Q)$(NULLCMD) $(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)/%,$@) +$(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 benchmark/%: miniruby$(EXEEXT) update-benchmark-driver PHONY