test/Makefile: fixed TESTS parsing

master
Harald Hoyer 2012-08-01 12:50:54 +02:00
parent f0a7fc5b43
commit 9fd9e96130
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ check:
@for i in TEST-[0-9]*; do \
[ -d $$i ] || continue ; \
[ -f $$i/Makefile ] || continue ; \
if [ -n "$$TESTS" ]; then t=$${i##TEST-}; t=$${t%-*}; [ "$${TESTS#*$$t*}" != "$$TESTS" ] || continue; fi; \
if [ -n "$$TESTS" ]; then t=$${i##TEST-}; t=$${t%%-*}; [ "$${TESTS#*$$t*}" != "$$TESTS" ] || continue; fi; \
$(MAKE) -C $$i all ; \
done