1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

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

This commit is contained in:
Petr Rockai 2010-04-13 13:28:52 +00:00
parent 2f938809c4
commit a2263de0a3
2 changed files with 11 additions and 3 deletions

View 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

View 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 $<