[PATCH v2] xfstests: make install support common/ and tests/ dirs
Wang Sheng-Hui
shhuiw at gmail.com
Fri Apr 12 11:42:20 CDT 2013
On 2013年04月12日 15:40, Dave Chinner wrote:
> On Fri, Apr 12, 2013 at 12:26:53PM +0800, Wang Sheng-Hui wrote:
>> +#
>> +
>> +TOPDIR = ..
>> +include $(TOPDIR)/include/builddefs
>> +
>> +TESTS_SUBDIRS = $(shell find . -maxdepth 1 -type d | sed -n -e 's/\.\///gp')
>
> This is much neater:
>
> TESTS_SUBDIRS = $(sort $(dir $(wildcard $(PWD)/*/)))
Hi Dave,
I introduces Makefile under tests/, which would return to TESTS_SUBDIRS with the
$(dir function. By running find in $(shell, TEST_SUBDIRS will only get the dir names,
and no Makefile.
Regards,
Sheng-Hui
>
> -Dave.
>
More information about the xfs
mailing list