From 8fbb79f49ec94d48b5ef29bf53b12cbcd24c4bb6 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 11 Aug 2023 14:47:20 +0900 Subject: [PATCH] Fix order of test-syntax-suggest-prepare for old GNU Make --- common.mk | 2 +- defs/gmake.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 4e1d2f0cc6a484..b02534c8379746 100644 --- a/common.mk +++ b/common.mk @@ -1537,7 +1537,7 @@ yes-test-syntax-suggest: $(PREPARE_SYNTAX_SUGGEST) $(RSPECOPTS) spec/syntax_suggest/$(SYNTAX_SUGGEST_SPECS) no-test-syntax-suggest: -check: $(DOT_WAIT) test-syntax-suggest +check: $(DOT_WAIT) $(PREPARE_SYNTAX_SUGGEST) test-syntax-suggest test-bundler-precheck: $(TEST_RUNNABLE)-test-bundler-precheck no-test-bundler-precheck: diff --git a/defs/gmake.mk b/defs/gmake.mk index c1dc6667bdd260..32a298a3af29e8 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -45,6 +45,7 @@ TEST_TARGETS := $(patsubst test-bundler-parallel,test-bundler-parallel $(PREPARE TEST_TARGETS := $(patsubst test-syntax-suggest,test-syntax-suggest $(PREPARE_SYNTAX_SUGGEST),$(TEST_TARGETS)) TEST_DEPENDS := $(filter-out test-short $(TEST_TARGETS),$(TEST_DEPENDS)) TEST_DEPENDS += $(if $(filter great exam love check,$(MAKECMDGOALS)),all exts) +TEST_TARGETS := $(patsubst yes-%,%,$(filter-out no-%,$(TEST_TARGETS))) endif in-srcdir := $(if $(filter-out .,$(srcdir)),$(CHDIR) $(srcdir) &&)