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

run single spec [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2019-07-31 20:46:01 +09:00
parent 835fa9e54a
commit c94cc6d968
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -292,6 +292,9 @@ rdoc\:%: PHONY
test_%.rb test/%: programs PHONY
+$(Q)$(exec) $(RUNRUBY) "$(TESTSDIR)/runner.rb" --ruby="$(RUNRUBY)" $(TEST_EXCLUDES) $(TESTOPTS) -- $(patsubst test/%,%,$@)
spec/%: programs exts PHONY
+$(RUNRUBY) -r./$(arch)-fake $(srcdir)/spec/mspec/bin/mspec-run -B $(srcdir)/spec/default.mspec $(SPECOPTS) $(patsubst %,$(srcdir)/%,$@)
clean-srcs-ext::
$(Q)$(RM) $(patsubst $(srcdir)/%,%,$(EXT_SRCS))