Skip to contentSkip to conversation

master - test: Make comma a separator as in make check T=lvconvert, lvcreate

PATCH Petr Rockai 1 participant 1 message Oct 9, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=fbb6de845e857cfb4144c40dca36456d27abdbe9
Commit:        fbb6de845e857cfb4144c40dca36456d27abdbe9
Parent:        863be9d9c6dbe84f072b77d37a64de601bd2f76b
Author:        Petr Rockai <[email protected]>
AuthorDate:    Wed Oct 9 14:02:34 2013 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Wed Oct 9 14:02:34 2013 +0200

test: Make comma a separator as in make check T=lvconvert,lvcreate

---
 test/Makefile.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
test/Makefile.in +2 -1
index 1b9789f..5685544 100644
@@ -34,7 +34,8 @@ T ?= .
 S ?= @ # never match anything by default
 VERBOSE ?= 0
 ALL = $(shell find $(srcdir) \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) | sort)
-RUN = $(shell find $(srcdir) -regextype posix-egrep \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) -and -regex "$(srcdir)/.*($(T)).*" -and -not -regex "$(srcdir)/.*($(S)).*" | sort)
+comma = ,
+RUN = $(shell find $(srcdir) -regextype posix-egrep \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) -and -regex "$(srcdir)/.*($(subst $(comma),|,$(T))).*" -and -not -regex "$(srcdir)/.*($(subst $(comma),|,$(S))).*" | sort)
 RUN_BASE = $(subst $(srcdir)/,,$(RUN))
 
 # Shell quote;