nixpkgs-suyu/pkgs/development/libraries/stargate-libcds/Makefile.patch
yuu 37e6fd6026
stargate-libcds: init at 1.0.0
Co-authored-by: figsoda <figsoda@pm.me>
Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-11-09 17:43:19 -03:00

19 lines
761 B
Diff

diff --git a/Makefile b/Makefile
index 872af46..7eba8a1 100644
--- a/Makefile
+++ b/Makefile
@@ -156,13 +156,7 @@ test:
# Compile and run the test suite through Valgrind to check for
# memory errors, then generate an HTML code coverage report
# using gcovr
- $(CC) $(CC_ARGS) -O0 $(DEBUG_FLAGS) $(PLAT_FLAGS) $(GCOVARGS) \
+ $(CC) $(CC_ARGS) -O0 $(DEBUG_FLAGS) $(PLAT_FLAGS) \
$(shell find src tests -name *.c) \
-Iinclude \
-o $(NAME).tests
- # If Valgrind exits non-zero, try running 'gdb ./libcds.tests'
- # to debug the test suite
- valgrind ./$(NAME).tests --track-origins=yes --leak-check=full
- mkdir html || rm -rf html/*
- gcovr -r . --exclude=bench --html --html-details -o html/coverage.html
- $(BROWSER) html/coverage.html &