mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gmake.mk: check targets depend on main
* defs/gmake.mk (TEST_DEPENDS): all check targets need the main, programs and extensions have been built. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4208d09b1a
commit
819e1756ad
1 changed files with 2 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
|||
# -*- 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))
|
||||
|
|
Loading…
Reference in a new issue