about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/stargate-libcds/Makefile.patch
blob: b5b116b78bec0fbecf86945d252b0fe49c0b74cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 &