mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-23 21:35:29 +03:00
Only build the required bits under api/ on make check.
This commit is contained in:
parent
46ac061fb3
commit
c0274f4018
@ -42,19 +42,19 @@ dm_udev_synchronisation = 1
|
||||
endif
|
||||
|
||||
all check: init.sh
|
||||
make -C api
|
||||
make -C api tests
|
||||
@echo Testing with locking_type 1
|
||||
VERBOSE=$(VERBOSE) ./bin/harness $(RUN_BASE)
|
||||
@echo Testing with locking_type 3
|
||||
VERBOSE=$(VERBOSE) LVM_TEST_LOCKING=3 ./bin/harness $(RUN_BASE)
|
||||
|
||||
check_cluster: init.sh
|
||||
make -C api
|
||||
make -C api tests
|
||||
@echo Testing with locking_type 3
|
||||
VERBOSE=$(VERBOSE) LVM_TEST_LOCKING=3 ./bin/harness $(RUN_BASE)
|
||||
|
||||
check_local: init.sh
|
||||
make -C api
|
||||
make -C api tests
|
||||
@echo Testing with locking_type 1
|
||||
VERBOSE=$(VERBOSE) LVM_TEST_LOCKING=1 ./bin/harness $(RUN_BASE)
|
||||
|
||||
|
@ -44,7 +44,9 @@ test_OBJECTS = $(test_SOURCES:.c=.o)
|
||||
wrapper_OBJECTS = $(wrapper_SOURCES:.c=.o)
|
||||
OBJECTS = $(test_OBJECTS)
|
||||
|
||||
all: $(UNIT) test
|
||||
all: tests test
|
||||
|
||||
tests: $(UNIT)
|
||||
|
||||
test: $(test_OBJECTS) $(DEPLIBS)
|
||||
$(CC) -o test $(test_OBJECTS) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(READLINE_LIBS)
|
||||
|
Loading…
Reference in New Issue
Block a user