mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Change default target for Makefile.localtest.
This commit is contained in:
@@ -9,6 +9,9 @@ CFLAGS=-O2 -g -Wall -D_GNU_SOURCE
|
||||
LDLIBS=-lcryptsetup -ldevmapper
|
||||
TESTS=$(wildcard *-test *-test2) api-test api-test-2 all-symbols-test \
|
||||
blockwise-compat compat-test-args unit-utils-crypt-test
|
||||
TESTS_UTILS=differ unit-utils-io unit-wipe
|
||||
|
||||
check-programs: $(TESTS_UTILS) $(TESTS)
|
||||
|
||||
differ: differ.o
|
||||
$(CC) -o $@ $^
|
||||
@@ -37,7 +40,7 @@ all-symbols-test.o: test-symbols-list.h
|
||||
all-symbols-test: all-symbols-test.o
|
||||
$(CC) -o $@ $^ -ldl
|
||||
|
||||
tests: differ unit-utils-io unit-wipe $(TESTS)
|
||||
tests: $(TESTS_UTILS) $(TESTS)
|
||||
@for test in $(sort $(TESTS)); do \
|
||||
echo [$$test]; \
|
||||
./$$test; \
|
||||
@@ -46,8 +49,7 @@ tests: differ unit-utils-io unit-wipe $(TESTS)
|
||||
done;
|
||||
|
||||
clean:
|
||||
rm -f *.o differ api-test api-test-2 \
|
||||
unit-utils-io unit-wipe unit-utils-crypt-test \
|
||||
rm -f *.o $(TESTS_UTILS) api-test api-test-2 unit-utils-crypt-test \
|
||||
all-symbols-test test-symbols-list.h
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
Reference in New Issue
Block a user