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:
parent
2f938809c4
commit
a2263de0a3
@ -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
|
||||
|
@ -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 $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user