ruby-changes:38067
From: nobu <ko1@a...>
Date: Wed, 1 Apr 2015 23:31:18 +0900 (JST)
Subject: [ruby-changes:38067] nobu:r50148 (trunk): common.mk: fool
nobu 2015-04-01 23:30:53 +0900 (Wed, 01 Apr 2015) New Revision: 50148 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50148 Log: common.mk: fool * common.mk (fool): target to check and test rubyspec. Modified files: trunk/common.mk trunk/defs/gmake.mk Index: defs/gmake.mk =================================================================== --- defs/gmake.mk (revision 50147) +++ defs/gmake.mk (revision 50148) @@ -7,7 +7,7 @@ TEST_TARGETS := $(patsubst test-%,yes-te https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L7 TEST_DEPENDS := $(if $(TEST_TARGETS),$(filter all main exts,$(MAKECMDGOALS))) TEST_DEPENDS += $(if $(filter check%,$(MAKECMDGOALS)),main) TEST_DEPENDS += $(if $(filter all,$(INSTALLDOC)),docs) -CHECK_TARGETS := love check% +CHECK_TARGETS := fool love check% ifneq ($(filter -O0 -Od,$(optflags)),) override XCFLAGS := $(filter-out -D_FORTIFY_SOURCE=%,$(XCFLAGS)) @@ -64,6 +64,11 @@ install-prereq: uninstall https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L64 uninstall sudo-precheck: all $(if $(filter all,$(INSTALLDOC)),docs) endif +ifneq ($(filter fool,$(MAKECMDGOALS)),) +test-rubyspec: check +yes-test-all no-test-all: test +endif + ifneq ($(filter love,$(MAKECMDGOALS)),) showflags: up sudo-precheck: test Index: common.mk =================================================================== --- common.mk (revision 50147) +++ common.mk (revision 50148) @@ -1013,6 +1013,8 @@ info-arch: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1013 change: PHONY $(BASERUBY) -C "$(srcdir)" ./tool/change_maker.rb $(CHANGES) > change.log +fool: check test-rubyspec + love: sudo-precheck up all test install test-all @echo love is all you need -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/