mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:04:12 +08:00
lmdb: run all test with mdb_chk by 'make test'.
Change-Id: If1b742505f23de807b99a5068b5c38421f7ed197
This commit is contained in:
parent
bd05dd24ab
commit
7919a0f124
11
Makefile
11
Makefile
@ -43,11 +43,16 @@ install: $(ILIBS) $(IPROGS) $(IHDRS)
|
||||
for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done
|
||||
|
||||
clean:
|
||||
rm -rf $(PROGS) *.[ao] *.[ls]o *~ testdb
|
||||
rm -rf $(PROGS) *.[ao] *.[ls]o *~ testdb/*
|
||||
|
||||
test: all
|
||||
rm -rf testdb && mkdir testdb \
|
||||
&& ./mtest && ./mdb_stat testdb
|
||||
[ -d testdb ] || mkdir testdb && rm -f testdb/* \
|
||||
&& echo "*** LMDB-TEST-1" && ./mtest && ./mdb_chk testdb \
|
||||
&& echo "*** LMDB-TEST-2" && ./mtest2 && ./mdb_chk testdb \
|
||||
&& echo "*** LMDB-TEST-3" && ./mtest3 && ./mdb_chk testdb \
|
||||
&& echo "*** LMDB-TEST-4" && ./mtest4 && ./mdb_chk testdb \
|
||||
&& echo "*** LMDB-TEST-5" && ./mtest5 && ./mdb_chk testdb \
|
||||
&& echo "*** LMDB-TESTs - all done"
|
||||
|
||||
liblmdb.a: mdb.o midl.o
|
||||
$(AR) rs $@ mdb.o midl.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user