From c0183f22c92507b860866facbc4815bc4a4a98f7 Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Wed, 13 Apr 2022 22:43:10 -0700 Subject: [PATCH 2/2] [POC CHECK] Allow check-expensive target for generated test jobs * test/infra/Makefile.in: Always run expensive tests for generated ERC jobs. --- test/infra/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/infra/Makefile.in b/test/infra/Makefile.in index c251578e6a..0d44d96b4c 100644 --- a/test/infra/Makefile.in +++ b/test/infra/Makefile.in @@ -35,9 +35,14 @@ SUBDIR_TARGETS = FILE = test-jobs.yml tn = $$$${test_name} cps = $$$$CI_PIPELINE_SOURCE +ALWAYS_EXPENSIVE = lisp/erc define subdir_template - $(eval target = check-$(subst /,-,$(1))) + $(eval + target = check-$(subst /,-,$(1)) + ifneq ($(foreach d, $(ALWAYS_EXPENSIVE), $(findstring $(d),$(1))),) + target = check-expensive-$(subst /,-,$(1)) + endif) SUBDIR_TARGETS += $(target) $(eval -- 2.35.1