From bf6e990fb39149fc24da8371f41c43203f025afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Thu, 19 Aug 2021 22:38:25 +0200 Subject: [PATCH] Reenable code coverage for TAP tests --- test/tap/tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tap/tests/Makefile b/test/tap/tests/Makefile index 8fd2e2de1..99baf3268 100644 --- a/test/tap/tests/Makefile +++ b/test/tap/tests/Makefile @@ -85,7 +85,7 @@ clean: WITHGCOVVAR := $(shell echo $(WITHGCOV)) ifeq ($(WITHGCOVVAR),1) -WGCOV=-DWITHGCOV --coverage +WGCOV=-DWITHGCOV --coverage -lgcov else WGCOV= endif @@ -97,7 +97,7 @@ else WASAN= endif -OPT=-O2 -Wl,--no-as-needed +OPT=-O2 $(WGCOV) -Wl,--no-as-needed debug: OPT=-O0 -DDEBUG -ggdb -Wl,--no-as-needed $(WGCOV) $(WASAN) debug: tests