@ -362,11 +362,11 @@ dbg: $(LIBRARY) $(BENCHMARKS) $(TOOLS) $(TESTS)
# creates static library and programs
# creates static library and programs
release :
release :
$( MAKE) clean
$( MAKE) clean
OPT = "-DNDEBUG -O2" $( MAKE) static_lib $( TOOLS) db_bench -j32
OPT = "-DNDEBUG -O2" $( MAKE) static_lib $( TOOLS) db_bench
coverage :
coverage :
$( MAKE) clean
$( MAKE) clean
COVERAGEFLAGS = "-fprofile-arcs -ftest-coverage" LDFLAGS += "-lgcov" $( MAKE) all check -j32
COVERAGEFLAGS = "-fprofile-arcs -ftest-coverage" LDFLAGS += "-lgcov" $( MAKE) all check
cd coverage && ./coverage_test.sh
cd coverage && ./coverage_test.sh
# Delete intermediate files
# Delete intermediate files
find . -type f -regex ".*\.\(\(gcda\)\|\(gcno\)\)" -exec rm { } \;
find . -type f -regex ".*\.\(\(gcda\)\|\(gcno\)\)" -exec rm { } \;