From: Wang Sheng-Hui Date: Mon, 13 May 2013 20:41:21 +0000 (-0500) Subject: xfstests: update method to set TESTS_SUBDIRS in tests/Makefile. X-Git-Tag: v2022.05.01~3437 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e894cb079a81ff17dcdbe0977ad224a6bbe37dfc;p=users%2Fhch%2Fxfstests-dev.git xfstests: update method to set TESTS_SUBDIRS in tests/Makefile. make install support common/ and tests/ dirs (V4) * reposted for current top of tree changes. [rjohnston@sgi.com] * use the neater way by Dave to get the TESTS_SUBDIRS in tests/Makefile. Signed-off-by: Wang Sheng-Hui [rjohnston@sgi.com Reposted for current top of tree changes] Reviewed-by: Dave Chinner Signed-off-by: Rich Johnston --- diff --git a/tests/Makefile b/tests/Makefile index 254dd481e..2611b3b84 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -5,7 +5,7 @@ TOPDIR = .. include $(TOPDIR)/include/builddefs -TESTS_SUBDIRS = $(shell find . -maxdepth 1 -type d | sed -n -e 's/\.\///gp') +TESTS_SUBDIRS = $(sort $(dir $(wildcard $(PWD)/$(TESTS_DIR)/[a-z]*/))) include $(BUILDRULES)