From 31c89500dd7755b13880409d4edc441ff06ffd37 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 5 Dec 2019 01:18:26 +0000 Subject: [PATCH] test-common: Use $(wildcard ) rather than $(shell echo ) This is probably a bit faster, but more relevantly it would DTRT if for some reason there were no applicable tests. Which is going to happen in a moment, when we add some machinery before the applicable test. Signed-off-by: Ian Jackson --- test-common.sd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-common.sd.mk b/test-common.sd.mk index 023e41c..904536d 100644 --- a/test-common.sd.mk +++ b/test-common.sd.mk @@ -1,7 +1,7 @@ include common.make -&TESTSCRIPTS ?= $(shell echo &^/t-*[0-9a-z]) +&TESTSCRIPTS ?= $(wildcard &^/t-*[0-9a-z]) &TESTNAMES := $(patsubst t-%,%,$(notdir $(&TESTSCRIPTS))) &DEPS += $(src)/test-common.tcl -- 2.30.2