Skip to content

Commit

Permalink
fix: enabled coverage information generation
Browse files Browse the repository at this point in the history
- `*.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`).
  • Loading branch information
iWas-Coder committed Jun 6, 2024
1 parent b405591 commit 0fa5b25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ define LUA_CFLAGS
$(MACOS_SPECIFIC_CFLAGS_OPTS)
endef
define CFLAGS
--coverage \
-std=gnu11 \
-Wall \
-Wextra \
Expand Down Expand Up @@ -243,6 +244,7 @@ define SKAP_CFLAGS
$(MACOS_SPECIFIC_CFLAGS_OPTS)
endef
define LDFLAGS
--coverage \
$(BUILDID_OPTS) \
$(STRIP_OPTS) \
$(RELEASE_OPTS) \
Expand All @@ -258,6 +260,7 @@ define LDFLAGS
$(OPENBSD_SPECIFIC_LDFLAGS_OPTS)
endef
define TEST_LDFLAGS
--coverage \
$(BUILDID_OPTS) \
$(STRIP_OPTS) \
$(RELEASE_OPTS) \
Expand Down

0 comments on commit 0fa5b25

Please sign in to comment.