summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-08 13:52:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-08 13:52:32 +0000
commit2a20b491f01285627641e7aa4d1463d1d9d552ea (patch)
tree5f90a3972fda3c25b3d30193de9079ebdb2608ac
parente7f4d90930e4ad042fb8152fed1e2e490deb7a4f (diff)
great love
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk2
-rw-r--r--defs/gmake.mk7
2 files changed, 8 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index d76e4b0..b944849 100644
--- a/common.mk
+++ b/common.mk
@@ -1227,6 +1227,8 @@ exam: check test-rubyspec
love: sudo-precheck up all test install check
@echo love is all you need
+great: exam
+
yes-test-all no-test-all: sudo-precheck
sudo-precheck: PHONY
diff --git a/defs/gmake.mk b/defs/gmake.mk
index d9eb285..9bba693 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -3,10 +3,12 @@ gnumake = yes
override gnumake_recursive := $(if $(findstring n,$(firstword $(MFLAGS))),,+)
override mflags := $(filter-out -j%,$(MFLAGS))
-CHECK_TARGETS := exam love check test check% test% btest%
+CHECK_TARGETS := great exam love check test check% test% btest%
# expand test targets, and those dependents
TEST_TARGETS := $(filter $(CHECK_TARGETS),$(MAKECMDGOALS))
TEST_DEPENDS := $(filter-out $(TEST_TARGETS),$(MAKECMDGOALS))
+TEST_TARGETS := $(patsubst great,exam,$(TEST_TARGETS))
+TEST_DEPENDS := $(filter-out great $(TEST_TARGETS),$(TEST_DEPENDS))
TEST_TARGETS := $(patsubst exam,check test-rubyspec,$(TEST_TARGETS))
TEST_DEPENDS := $(filter-out exam $(TEST_TARGETS),$(TEST_DEPENDS))
TEST_TARGETS := $(patsubst love,check,$(TEST_TARGETS))
@@ -81,6 +83,9 @@ install-prereq: sudo-precheck
yes-test-all no-test-all: install
yes-test-almost no-test-almost: install
endif
+ifneq ($(filter great,$(MAKECMDGOALS)),)
+love: test-rubyspec
+endif
$(srcdir)/missing/des_tables.c: $(srcdir)/missing/crypt.c
ifeq ($(if $(filter yes,$(CROSS_COMPILING)),,$(CC)),)