Skip to content

Commit 55a3367

Browse files
committed
use --include-path instead of --include-pattern with kcov
1 parent ae33eb8 commit 55a3367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pub fn build(b: *std.Build) void {
174174
const kcov_collect = std.Build.Step.Run.create(b, "kcov collect coverage");
175175
kcov_collect.addArg(kcov_bin);
176176
kcov_collect.addArg("--collect-only");
177-
kcov_collect.addPrefixedDirectoryArg("--include-pattern=", b.path("."));
177+
kcov_collect.addPrefixedDirectoryArg("--include-path=", b.path("."));
178178
kcov_merge.addDirectoryArg(kcov_collect.addOutputDirectoryArg(test_artifact.name));
179179
kcov_collect.addArtifactArg(test_artifact);
180180
kcov_collect.enableTestRunnerMode();

0 commit comments

Comments
 (0)