1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Add an option to skip some tests in make check (regex based, like T=): eg.

$ sudo make check S='mirror-basic|fsadm'
This commit is contained in:
Petr Rockai 2010-10-12 16:17:25 +00:00
parent 613a177a6f
commit 1c45bab17f

View File

@ -26,7 +26,8 @@ abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
T ?= .
RUN = $(shell find -regextype posix-egrep -name t-\*.sh -and -regex ".*($(T)).*" | sort)
S ?= @ # never match anything by default
RUN = $(shell find -regextype posix-egrep -name t-\*.sh -and -regex ".*($(T)).*" -and -not -regex ".*($(S)).*" | sort)
# Shell quote;
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))