From 79a5963585ac032cd3f390a37b5d276f7f9d0b5c Mon Sep 17 00:00:00 2001 From: Space Meyer Date: Tue, 13 Sep 2022 15:24:23 +0000 Subject: pkg/bisect: use default compiler during bisection where possible This allows us to bisect at least recently introduced bugs, where the manager that found the bug uses a non standard compiler. This is usefull during development of a new sanitizer for which a compiler with non-upstreamed patches is required. --- pkg/vcs/vcs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/vcs/vcs.go') diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index 50e45252e..4b4f26e06 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -79,11 +79,11 @@ type Bisecter interface { // PreviousReleaseTags returns list of preceding release tags that are reachable from the given commit. // If the commit itself has a release tag, this tag is not included. - PreviousReleaseTags(commit, bisectCompiler string) ([]string, error) + PreviousReleaseTags(commit, compilerType string) ([]string, error) IsRelease(commit string) (bool, error) - EnvForCommit(bisectCompiler, binDir, commit string, kernelConfig []byte) (*BisectEnv, error) + EnvForCommit(defaultCompiler, compilerType, binDir, commit string, kernelConfig []byte) (*BisectEnv, error) } type ConfigMinimizer interface { -- cgit mrf-deployment