Skip to contentSkip to conversation

LVM2 ./Makefile.in test/Makefile.in

PATCH [email protected] 1 participant 1 message Apr 13, 2010 Kbuild

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-04-13 13:28:53

Modified files:
. : Makefile.in
test : Makefile.in

Log message:
Add check_cluster and check_local targets in addition to just "check".

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/Makefile.in.diff?cvsroot=lvm2&r1=1.51&r2=1.52
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/Makefile.in.diff?cvsroot=lvm2&r1=1.37&r2=1.38

Makefile.in +2 -2
@@ -75,8 +75,8 @@
 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
test/Makefile.in +9 -1
@@ -46,12 +46,20 @@
 	$(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 $<