Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/Makefile b/Makefile 2index 872af46..7eba8a1 100644 3--- a/Makefile 4+++ b/Makefile 5@@ -156,13 +156,7 @@ test: 6 # Compile and run the test suite through Valgrind to check for 7 # memory errors, then generate an HTML code coverage report 8 # using gcovr 9- $(CC) $(CC_ARGS) -O0 $(DEBUG_FLAGS) $(PLAT_FLAGS) $(GCOVARGS) \ 10+ $(CC) $(CC_ARGS) -O0 $(DEBUG_FLAGS) $(PLAT_FLAGS) \ 11 $(shell find src tests -name *.c) \ 12 -Iinclude \ 13 -o $(NAME).tests 14- # If Valgrind exits non-zero, try running 'gdb ./libcds.tests' 15- # to debug the test suite 16- valgrind ./$(NAME).tests --track-origins=yes --leak-check=full 17- mkdir html || rm -rf html/* 18- gcovr -r . --exclude=bench --html --html-details -o html/coverage.html 19- $(BROWSER) html/coverage.html &