From b5e83471bc46a7ab6e027478acbe0f05e406d2fe Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Tue, 13 Apr 2010 13:28:52 +0000 Subject: [PATCH] Add check_cluster and check_local targets in addition to just "check". --- Makefile.in | 4 ++-- test/Makefile.in | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) 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 $< -- 2.43.5