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/testos.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkg/vcs/testos.go') diff --git a/pkg/vcs/testos.go b/pkg/vcs/testos.go index 0053a528e..fe7c3790f 100644 --- a/pkg/vcs/testos.go +++ b/pkg/vcs/testos.go @@ -22,11 +22,13 @@ func newTestos(dir string, opts []RepoOpt) *testos { } } -func (ctx *testos) PreviousReleaseTags(commit, bisectCompiler string) ([]string, error) { +func (ctx *testos) PreviousReleaseTags(commit, compilerType string) ([]string, error) { return ctx.git.previousReleaseTags(commit, false, false, false) } -func (ctx *testos) EnvForCommit(bisectCompiler, binDir, commit string, kernelConfig []byte) (*BisectEnv, error) { +func (ctx *testos) EnvForCommit( + defaultCompiler, compilerType, binDir, commit string, kernelConfig []byte, +) (*BisectEnv, error) { return &BisectEnv{KernelConfig: kernelConfig}, nil } -- cgit mrf-deployment