From: Petr Rockai Date: Tue, 13 Apr 2010 13:28:52 +0000 (+0000) Subject: Add check_cluster and check_local targets in addition to just "check". X-Git-Tag: old-v2_02_63~27 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b5e83471bc46a7ab6e027478acbe0f05e406d2fe;p=lvm2.git Add check_cluster and check_local targets in addition to just "check". --- diff --git a/Makefile.in b/Makefile.in index 609dcd2d6..cf4629db8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -75,8 +75,8 @@ all: cscope.out endif DISTCLEAN_TARGETS += cscope.out -check: all - $(MAKE) -C test all +check check_cluster check_local: all + $(MAKE) -C test $(@) LCOV_TRACES = libdm.info lib.info tools.info \ daemons/dmeventd.info daemons/clvmd.info diff --git a/test/Makefile.in b/test/Makefile.in index 0263215e9..cabecedce 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -46,12 +46,20 @@ api/vgtest: $(MAKE) -C api vgtest endif -all: init.sh +all check: init.sh @echo Testing with locking_type 1 ./bin/harness $(RUN) @echo Testing with locking_type 3 LVM_TEST_LOCKING=3 ./bin/harness $(RUN) +check_cluster: init.sh + @echo Testing with locking_type 3 + LVM_TEST_LOCKING=3 ./bin/harness $(RUN) + +check_local: init.sh + @echo Testing with locking_type 1 + LVM_TEST_LOCKING=1 ./bin/harness $(RUN) + bin/not: $(srcdir)/not.c .bin-dir-stamp $(CC) -o bin/not $<