]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test/Makefile: add SKIP env to skip certain tests
authorHarald Hoyer <harald@redhat.com>
Fri, 28 Feb 2014 12:25:39 +0000 (13:25 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 28 Feb 2014 12:25:39 +0000 (13:25 +0100)
test/Makefile

index 97a7aad83bc2e14b2aa2418cfe7fa1aeca48be3d..f71f8540548b51cf3931735f64cbea5c61a32043 100644 (file)
@@ -6,6 +6,7 @@ check:
                [ -d $$i ] || continue ; \
                [ -f $$i/Makefile ] || continue ; \
                if [ -n "$$TESTS" ]; then t=$${i##TEST-}; t=$${t%%-*}; [ "$${TESTS#*$$t*}" != "$$TESTS" ] || continue; fi; \
+               if [ -n "$$SKIP" ]; then t=$${i##TEST-}; t=$${t%%-*}; [ "$${SKIP#*$$t*}" != "$$SKIP" ] && continue; fi; \
                $(MAKE) -C $$i all ; \
        done