mdbx: add 'mdbx_chk' to Makefile's 'check' target.

This commit is contained in:
Leo Yuriev 2017-05-26 16:17:24 +03:00
parent 4293840055
commit b038767a18

View File

@ -72,7 +72,7 @@ install: $(LIBRARIES) $(TOOLS) $(HEADERS)
clean: clean:
rm -rf $(TOOLS) test/test @* *.[ao] *.[ls]o *~ tmp.db/* *.gcov *.log *.err src/*.o test/*.o rm -rf $(TOOLS) test/test @* *.[ao] *.[ls]o *~ tmp.db/* *.gcov *.log *.err src/*.o test/*.o
check: test/test check: test/test mdbx_chk
rm -f $(TESTDB) && (set -o pipefail; test/test --pathname=$(TESTDB) --dont-cleanup-after basic | tee test.log | tail -n 42) && ./mdbx_chk -vn $(TESTDB) rm -f $(TESTDB) && (set -o pipefail; test/test --pathname=$(TESTDB) --dont-cleanup-after basic | tee test.log | tail -n 42) && ./mdbx_chk -vn $(TESTDB)
define core-rule define core-rule