summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-12 00:14:08 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-14 11:30:05 +0900
commit2a3acbc420cc94af07a16d45310554f616dc457a (patch)
treeb1b19d1b151d86ca281d36451b4bd4e884d369fa /template
parentd33555eeaeac76a76c086c3dd09f53fff88d7f6a (diff)
Fix test and precheck order for old GNU Make
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 5e7edc2f18..4a19a3cec6 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -637,8 +637,11 @@ un-runnable:
$(Q) exit 1
LIBRUBY_FOR_LEAKED_GLOBALS = $(enable_shared:no=)
-yes-test-basic: $(DOT_WAIT) leaked-globals
-leaked-globals: $(COMMONOBJS) prog $(tooldir)/leaked-globals
+yes-test-basic: $(DOT_WAIT) test-leaked-globals
+leaked-globals: test-leaked-globals
+yes-test-leaked-globals-precheck: $(COMMONOBJS) prog $(tooldir)/leaked-globals
+test-leaked-globals: yes-test-leaked-globals
+yes-test-leaked-globals: yes-test-leaked-globals-precheck
$(ACTIONS_GROUP)
$(Q) $(XRUBY) $(tooldir)/leaked-globals \
SOEXT=$(SOEXT) NM="$(NM) -Pgp" SYMBOL_PREFIX=$(SYMBOL_PREFIX) \