]> sourceware.org Git - lvm2.git/commitdiff
Add check_cluster and check_local targets in addition to just "check".
authorPetr Rockai <prockai@redhat.com>
Tue, 13 Apr 2010 13:28:52 +0000 (13:28 +0000)
committerPetr Rockai <prockai@redhat.com>
Tue, 13 Apr 2010 13:28:52 +0000 (13:28 +0000)
Makefile.in
test/Makefile.in

index 609dcd2d6130cc862e7e7f91b7879e98c8e975f5..cf4629db8bc312f6c4f50d318f6a660dd4c758ca 100644 (file)
@@ -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
index 0263215e932bad2109b9d23f43d7e972f7b78166..cabecedced8347ed49e6d4ca4d87b53d9bc0bdae 100644 (file)
@@ -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 $<
 
This page took 0.034457 seconds and 5 git commands to generate.