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

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