"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/Makefile.localtest" between
cryptsetup-2.3.6.tar.xz and cryptsetup-2.4.0.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

Makefile.localtest  (cryptsetup-2.3.6.tar.xz):Makefile.localtest  (cryptsetup-2.4.0.tar.xz)
# #
# Makefile to run tests with system binaries # Makefile to run tests with system binaries
# USE: make -f Makefile.localtest tests CRYPTSETUP_PATH=/sbin # USE: make -f Makefile.localtest tests CRYPTSETUP_PATH=/sbin
# #
CPPFLAGS=-I../lib/ -I../lib/luks1 -DHAVE_DECL_DM_TASK_RETRY_REMOVE -DKERNEL_KEYR ING -DHAVE_SYS_SYSMACROS_H -DNO_CRYPTSETUP_PATH CPPFLAGS=-I../lib/ -I../lib/luks1 -DHAVE_DECL_DM_TASK_RETRY_REMOVE -DKERNEL_KEYR ING -DHAVE_SYS_SYSMACROS_H -DNO_CRYPTSETUP_PATH
CFLAGS=-O2 -g -Wall CFLAGS=-O2 -g -Wall
LDLIBS=-lcryptsetup -ldevmapper LDLIBS=-lcryptsetup -ldevmapper
TESTS=$(wildcard *-test *-test2) api-test api-test-2 TESTS=$(wildcard *-test *-test2) api-test api-test-2 all-symbols-test
differ: differ.o differ: differ.o
$(CC) -o $@ $^ $(CC) -o $@ $^
api-test: api-test.o test_utils.o api-test: api-test.o test_utils.o
$(CC) -o $@ $^ $(LDLIBS) $(CC) -o $@ $^ $(LDLIBS)
api-test-2: api-test-2.o test_utils.o api-test-2: api-test-2.o test_utils.o
$(CC) -o $@ $^ $(LDLIBS) $(CC) -o $@ $^ $(LDLIBS)
test-symbols-list.h: generate-symbols-list
./generate-symbols-list ../lib/libcryptsetup.sym > test-symbols-list.h
all-symbols-test.o: test-symbols-list.h
$(CC) -D_GNU_SOURCE -c $*.c
all-symbols-test: all-symbols-test.o
$(CC) -o $@ $^ -ldl
tests: differ $(TESTS) tests: differ $(TESTS)
@for test in $(sort $(TESTS)); do \ @for test in $(sort $(TESTS)); do \
echo [$$test]; \ echo [$$test]; \
./$$test; \ ./$$test; \
[ $$? -ne 77 -a $$? -ne 0 ] && exit 1; \ [ $$? -ne 77 -a $$? -ne 0 ] && exit 1; \
true; \ true; \
done; done;
clean: clean:
rm -f *.o differ api-test api-test-2 rm -f *.o differ api-test api-test-2 all-symbols-test test-symbols-list.h
.PHONY: clean .PHONY: clean
 End of changes. 3 change blocks. 
2 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)