Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / stargate-libcds / Makefile.patch
blobb5b116b78bec0fbecf86945d252b0fe49c0b74cf
1 diff --git a/Makefile b/Makefile
2 index 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 &