[前][次][番号順一覧][スレッド一覧]

ruby-changes:56725

From: Nobuyoshi <ko1@a...>
Date: Wed, 31 Jul 2019 20:46:58 +0900 (JST)
Subject: [ruby-changes:56725] Nobuyoshi Nakada: c94cc6d968 (master): run single spec [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=c94cc6d968

From c94cc6d968a7241a487591a9753b171d8081d335 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 31 Jul 2019 20:46:01 +0900
Subject: run single spec [ci skip]


diff --git a/defs/gmake.mk b/defs/gmake.mk
index f2808b5..0929eda 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -292,6 +292,9 @@ rdoc\:%: PHONY https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L292
 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))
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]