ruby-changes:38075
From: nobu <ko1@a...>
Date: Fri, 3 Apr 2015 11:57:16 +0900 (JST)
Subject: [ruby-changes:38075] nobu:r50156 (trunk): gmake.mk: check targets depend on main
nobu 2015-04-03 11:57:11 +0900 (Fri, 03 Apr 2015) New Revision: 50156 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50156 Log: gmake.mk: check targets depend on main * defs/gmake.mk (TEST_DEPENDS): all check targets need the main, programs and extensions have been built. Modified files: trunk/defs/gmake.mk Index: defs/gmake.mk =================================================================== --- defs/gmake.mk (revision 50155) +++ defs/gmake.mk (revision 50156) @@ -1,13 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L1 # -*- makefile-gmake -*- gnumake = yes +CHECK_TARGETS := exam love check% TEST_TARGETS := $(filter check test check% test% btest%,$(MAKECMDGOALS)) TEST_TARGETS += $(subst check,test-all,$(patsubst check-%,test-%,$(TEST_TARGETS))) TEST_TARGETS := $(patsubst test-%,yes-test-%,$(patsubst btest-%,yes-btest-%,$(TEST_TARGETS))) TEST_DEPENDS := $(if $(TEST_TARGETS),$(filter all main exts,$(MAKECMDGOALS))) -TEST_DEPENDS += $(if $(filter check%,$(MAKECMDGOALS)),main) +TEST_DEPENDS += $(if $(filter $(CHECK_TARGETS),$(MAKECMDGOALS)),main) TEST_DEPENDS += $(if $(filter all,$(INSTALLDOC)),docs) -CHECK_TARGETS := exam love check% ifneq ($(filter -O0 -Od,$(optflags)),) override XCFLAGS := $(filter-out -D_FORTIFY_SOURCE=%,$(XCFLAGS)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/