From 0fa5b25dd48da1529a89045f8d172a4dd668df20 Mon Sep 17 00:00:00 2001 From: iWas-Coder Date: Thu, 6 Jun 2024 21:10:52 +0200 Subject: [PATCH] fix: enabled coverage information generation - `*.gcno` notes files are generated during compilation and assembly of the game's source files. - `*.gcda` count data files are generated during execution of the test suite (`carbon`). --- GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index caae9b1..9a786dc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -201,6 +201,7 @@ define LUA_CFLAGS $(MACOS_SPECIFIC_CFLAGS_OPTS) endef define CFLAGS + --coverage \ -std=gnu11 \ -Wall \ -Wextra \ @@ -243,6 +244,7 @@ define SKAP_CFLAGS $(MACOS_SPECIFIC_CFLAGS_OPTS) endef define LDFLAGS + --coverage \ $(BUILDID_OPTS) \ $(STRIP_OPTS) \ $(RELEASE_OPTS) \ @@ -258,6 +260,7 @@ define LDFLAGS $(OPENBSD_SPECIFIC_LDFLAGS_OPTS) endef define TEST_LDFLAGS + --coverage \ $(BUILDID_OPTS) \ $(STRIP_OPTS) \ $(RELEASE_OPTS) \