aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/linux_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/vcs: use clang-15 for builds up to v6.15Aleksandr Nogikh2025-04-241-1/+7
| | | | | Otherwise we need to backport too many fix commits to address build/boot errors.
* pkg/vcs: use gcc 10.1 for linux v5.8..v5.16Space Meyer2023-05-261-1/+1
| | | | | This was already the case before #3420. Using the default compiler so far back was overly optimistic, as pointed out in #3814.
* pkg/bisect: use default compiler during bisection where possibleSpace Meyer2022-10-071-0/+50
| | | | | | | 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/bisect: switch to kconfig.MinimizeDmitry Vyukov2020-10-211-120/+0
| | | | | | | | | | | | | | | 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
* all: fix comments formatDmitry Vyukov2020-07-121-3/+3
| | | | | | | Fix capitalization, dots at the end and two spaces after a period. Update #1876
* pkg/vcs: fix config bisection tests moreDmitry Vyukov2020-07-071-1/+6
| | | | | | | | | | | config-bisect.pl uses bash-isms and can't run on non-linux. It also silently ignores all errors which made failures very obscure -- the script happily succeeds in presence of any errors. So the test failed later reading .config. Use "set -eu" to not fail silently. Also trace all config-bisect.pl invocations and output. good/bad decisions are important and we always log them in the normal bisection.
* pkg/vcs: fix config minimization testDmitry Vyukov2020-07-071-45/+52
| | | | | | | | | | | The test requires new git binary. It's not necessary installed everywhere. Skip the test if git binary does not support bisection. Also reoder functions from more important to less important. Mark the test as parallel. Move individual tests into subtests. Split trace per subtest.
* pkg/bisect: move checking of minimized config into common codeDmitry Vyukov2020-07-021-6/+0
| | | | | That part is not linux-specific, move it to the common code. The more code we have in the common code, the more code we can test.
* pkg/bisect: minor style fix upsDmitry Vyukov2020-07-021-2/+2
|
* pkg/bisect: Implement config bisectionJouni Hogander2020-07-021-0/+114
Implement Linux kernel configuration bisection. Use bisected minimalistic configuration in commit bisection. Utilizes config_bisect.pl script from Linux kernel tree in bisection. Modify syz-bisect to read in kernel.baseline_config. This is used as a "good" configuration when bisection is run.