1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +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@ abs_top_srcdir = @abs_top_srcdir@
T ?= . 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 quote;
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH)) SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))