From 6a3bf18655384cbd534308104d82b1ae0f66c228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 2 Jul 2015 18:35:44 +0200 Subject: Reduce dependency on external programs This commit implements a core_find and core_ls function that can be used to list files recursively or not. A few other minute changes are included and a couple hacks removed. --- plugins/ct.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ct.mk') diff --git a/plugins/ct.mk b/plugins/ct.mk index eba0e52..7e0f683 100644 --- a/plugins/ct.mk +++ b/plugins/ct.mk @@ -7,7 +7,7 @@ CT_OPTS ?= ifneq ($(wildcard $(TEST_DIR)),) - CT_SUITES ?= $(sort $(subst _SUITE.erl,,$(shell find $(TEST_DIR) -type f -name \*_SUITE.erl -exec basename {} \;))) + CT_SUITES ?= $(sort $(subst _SUITE.erl,,$(notdir $(call core_find,$(TEST_DIR)/,*_SUITE.erl)))) else CT_SUITES ?= endif -- cgit v1.2.3