aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/testos.go
diff options
context:
space:
mode:
authorSpace Meyer <meyerpatrick@google.com>2022-07-30 12:16:05 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2022-09-01 10:42:40 +0200
commitd8e6f911090ec0020f34e094005284b5c8ac1e7f (patch)
treea66996629b5aa75ac0a06a58af547dafa73f94a7 /pkg/vcs/testos.go
parent3f79a9101d6ae91acf7edde3727992988bb01ae1 (diff)
pkg/bisect: support clang for crash bisection
Before we hardcoded bisection to use gcc, now the compiler family can be configured in the bisection config.
Diffstat (limited to 'pkg/vcs/testos.go')
-rw-r--r--pkg/vcs/testos.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vcs/testos.go b/pkg/vcs/testos.go
index baadb1a2a..0053a528e 100644
--- a/pkg/vcs/testos.go
+++ b/pkg/vcs/testos.go
@@ -22,11 +22,11 @@ func newTestos(dir string, opts []RepoOpt) *testos {
}
}
-func (ctx *testos) PreviousReleaseTags(commit string) ([]string, error) {
+func (ctx *testos) PreviousReleaseTags(commit, bisectCompiler string) ([]string, error) {
return ctx.git.previousReleaseTags(commit, false, false, false)
}
-func (ctx *testos) EnvForCommit(binDir, commit string, kernelConfig []byte) (*BisectEnv, error) {
+func (ctx *testos) EnvForCommit(bisectCompiler, binDir, commit string, kernelConfig []byte) (*BisectEnv, error) {
return &BisectEnv{KernelConfig: kernelConfig}, nil
}