Adding a rule in the Makefile to run valgrind on the rocksdb tests
Summary: Added automated valgrind testing for rocksdb by adding valgrind_check in the Makefile Test Plan: make clean; make all check Reviewers: dhruba, sheki, MarkCallaghan, zshao Reviewed By: sheki CC: leveldb Differential Revision: https://reviews.facebook.net/D8787
This commit is contained in:
parent
ec77366e14
commit
5024d72572
3
Makefile
3
Makefile
@ -113,6 +113,9 @@ check: all $(PROGRAMS) $(TESTS) $(TOOLS) ldb_tests
|
|||||||
ldb_tests: all $(PROGRAMS) $(TOOLS)
|
ldb_tests: all $(PROGRAMS) $(TOOLS)
|
||||||
python tools/ldb_test.py
|
python tools/ldb_test.py
|
||||||
|
|
||||||
|
valgrind_check: all $(PROGRAMS) $(TESTS)
|
||||||
|
for t in $(TESTS); do valgrind ./$$t || exit 1; done
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f $(PROGRAMS) $(BENCHMARKS) $(LIBRARY) $(SHARED) $(MEMENVLIBRARY) $(THRIFTSERVER) */*.o */*/*.o ios-x86/*/*.o ios-arm/*/*.o build_config.mk
|
-rm -f $(PROGRAMS) $(BENCHMARKS) $(LIBRARY) $(SHARED) $(MEMENVLIBRARY) $(THRIFTSERVER) */*.o */*/*.o ios-x86/*/*.o ios-arm/*/*.o build_config.mk
|
||||||
-rm -rf ios-x86/* ios-arm/*
|
-rm -rf ios-x86/* ios-arm/*
|
||||||
|
Loading…
Reference in New Issue
Block a user