Skip to contentSkip to conversation

LVM2/test Makefile.in

PATCH [email protected] 1 participant 1 message Oct 12, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-10-12 16:17:26

Modified files:
test : Makefile.in

Log message:
Add an option to skip some tests in make check (regex based, like T=): eg. $ sudo make check S='mirror-basic|fsadm'

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/Makefile.in.diff?cvsroot=lvm2&r1=1.42&r2=1.43

test/Makefile.in +2 -1
@@ -26,7 +26,8 @@
 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))