]> sourceware.org Git - lvm2.git/commitdiff
Only build the required bits under api/ on make check.
authorPetr Rockai <prokai@redhat.com>
Sun, 12 Dec 2010 21:08:00 +0000 (21:08 +0000)
committerPetr Rockai <prokai@redhat.com>
Sun, 12 Dec 2010 21:08:00 +0000 (21:08 +0000)
test/Makefile.in
test/api/Makefile.in

index 4fa094e7debd651344f14255ad07484e1e0e3f68..0372cfe5d4a6a65b4efc592a016511dda5417c78 100644 (file)
@@ -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)
 
index 90e116d44ec47b1093050b7892cde6317cfaa73b..498cb0d59defc3874210c982a117f04be56ed49f 100644 (file)
@@ -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)
This page took 0.038756 seconds and 5 git commands to generate.