@@ -15,7 +15,7 @@ $(eval $(call ADD_TARGET, catch2, extern/catchorg, LIB))
15
15
$(eval $(call ADD_TARGET, libfly_unit_tests, test, TEST, catch2 libfly))
16
16
$(eval $(call ADD_TARGET, libfly_benchmarks, bench, BIN, catch2 libfly))
17
17
18
- # Paths to ignore during code coverage reporting.
18
+ # Paths to exclude from code coverage reporting.
19
19
#
20
20
# 1. Ignore test files.
21
21
# 2. Ignore benchmarking files.
@@ -24,11 +24,14 @@ $(eval $(call ADD_TARGET, libfly_benchmarks, bench, BIN, catch2 libfly))
24
24
# runtime, which llvm-cov doesn't seem to recognize.
25
25
# 5. Ignore literal_parser.hpp - this file is entirely constexpr functions that do not execute at
26
26
# runtime, which llvm-cov doesn't seem to recognize.
27
- $(eval $(call IGNORE_FOR_COVERAGE, test/))
28
- $(eval $(call IGNORE_FOR_COVERAGE, bench/))
29
- $(eval $(call IGNORE_FOR_COVERAGE, extern/))
30
- $(eval $(call IGNORE_FOR_COVERAGE, fly/system/nix/system_impl.hpp))
31
- $(eval $(call IGNORE_FOR_COVERAGE, fly/types/numeric/detail/literal_parser.hpp))
27
+ $(eval $(call EXCLUDE_FROM_COVERAGE, test/))
28
+ $(eval $(call EXCLUDE_FROM_COVERAGE, bench/))
29
+ $(eval $(call EXCLUDE_FROM_COVERAGE, extern/))
30
+ $(eval $(call EXCLUDE_FROM_COVERAGE, fly/system/nix/system_impl.hpp))
31
+ $(eval $(call EXCLUDE_FROM_COVERAGE, fly/types/numeric/detail/literal_parser.hpp))
32
+
33
+ # Paths to exclude from generation of compilation database.
34
+ $(eval $(call EXCLUDE_FROM_COMPILATION_DATABASE, extern/))
32
35
33
36
# Import the build system.
34
37
include /usr/local/src/fly/build.mk
0 commit comments