Blame SOURCES/0142-test-Makefile-add-SKIP-env-to-skip-certain-tests.patch

a56a5e
From e96c0100113eb35a476fdb7949d5e347a81281a2 Mon Sep 17 00:00:00 2001
966cef
From: Harald Hoyer <harald@redhat.com>
966cef
Date: Fri, 28 Feb 2014 13:25:39 +0100
966cef
Subject: [PATCH] test/Makefile: add SKIP env to skip certain tests
966cef
966cef
---
966cef
 test/Makefile | 1 +
966cef
 1 file changed, 1 insertion(+)
966cef
966cef
diff --git a/test/Makefile b/test/Makefile
966cef
index 97a7aad..f71f854 100644
966cef
--- a/test/Makefile
966cef
+++ b/test/Makefile
966cef
@@ -6,6 +6,7 @@ check:
966cef
 		[ -d $$i ] || continue ; \
966cef
 		[ -f $$i/Makefile ] || continue ; \
966cef
 		if [ -n "$$TESTS" ]; then t=$${i##TEST-}; t=$${t%%-*}; [ "$${TESTS#*$$t*}" != "$$TESTS" ] || continue; fi; \
966cef
+		if [ -n "$$SKIP" ]; then t=$${i##TEST-}; t=$${t%%-*}; [ "$${SKIP#*$$t*}" != "$$SKIP" ] && continue; fi; \
966cef
 		$(MAKE) -C $$i all ; \
966cef
 	done
966cef