summaryrefslogtreecommitdiff
path: root/defs/gmake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'defs/gmake.mk')
-rw-r--r--defs/gmake.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 3d100831b7..13e02276e0 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -7,7 +7,7 @@ TEST_TARGETS := $(patsubst test-%,yes-test-%,$(patsubst btest-%,yes-btest-%,$(TE
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
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