diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-10-17 20:00:45 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-10-21 10:22:10 +0200 |
| commit | 8f58e4babeecd6606f4c9729919cc85c470bc422 (patch) | |
| tree | 9f5f837f11cbed4f0ee05b5b666be3effa9e6aaa /pkg/bisect/bisect_test.go | |
| parent | d6322b17cd4d9d62ddbe2b6352d8bab39eefdacb (diff) | |
pkg/bisect: switch to kconfig.Minimize
Use the new kconfig.Minimize for config minization
instead of the config-bisect.pl script.
This is mostly just deleting code.
Also update tests:
- minimization is now supposed to test the baseline config
(update "testos" stub accordingly)
- minimization is not supposed to return a config that does not build
(a reasonable config minimization procedure can't arrive to such config),
remove test that tests this
Update #2171
Diffstat (limited to 'pkg/bisect/bisect_test.go')
| -rw-r--r-- | pkg/bisect/bisect_test.go | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/pkg/bisect/bisect_test.go b/pkg/bisect/bisect_test.go index 3bbc2e2ea..c21548a4d 100644 --- a/pkg/bisect/bisect_test.go +++ b/pkg/bisect/bisect_test.go @@ -41,7 +41,7 @@ func (env *testEnv) BuildKernel(compilerBin, cCache, userspaceDir, cmdlineFile, kernelSign = "same-sign-" + configHash } env.config = string(kernelConfig) - if env.config == "baseline-fails" || env.config == "broken-build" { + if env.config == "baseline-fails" { return "", kernelSign, fmt.Errorf("failure") } return "", kernelSign, nil @@ -185,15 +185,6 @@ var bisectionTests = []BisectionTest{ resultingConfig: "baseline-repro", }, { - name: "cause-finds-cause-baseline-broken-build", - startCommit: 905, - commitLen: 1, - expectRep: true, - culprit: 602, - baselineConfig: "baseline-broken-build", - resultingConfig: "original config", - }, - { name: "cause-finds-cause-baseline-does-not-repro", startCommit: 905, commitLen: 1, |
