From 1c45bab17f914bdc69a3b1e99c8300234afb2166 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Tue, 12 Oct 2010 16:17:25 +0000 Subject: [PATCH] Add an option to skip some tests in make check (regex based, like T=): eg. $ sudo make check S='mirror-basic|fsadm' --- test/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Makefile.in b/test/Makefile.in index 5a9a40c3e..48f6d4191 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -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)) -- 2.43.5