Support finding which commit introduced a regression: ./v run cmd/tools/regress.v --old COMMIT --command './v run /abs/path/to/regression_bug.v' Support also finding which commit introduced a feature (or made code compile/run): ./v run cmd/tools/regress.v --old COMMIT --command '! ./v run /abs/path/to/feature.v' NB: the '! ' is a POSIX shell feature. It may not work on Windows outside of WSL. Its meaning is to invert the exit code for the next command, i.e. 0 -> 1, non 0 -> 0 If it does not work for you, you need to write a more explicit script that will exit with 0 code for all commits, where the feature does NOT work, and with non 0 code for all commits, where the feature does work. |
||
---|---|---|
.. | ||
bench | ||
builders | ||
fast | ||
fuzz | ||
modules | ||
vast | ||
vdoc | ||
vvet | ||
check_os_api_parity.v | ||
detect_tcc.v | ||
gen1m.v | ||
gen_vc.v | ||
missdoc.v | ||
oldv.v | ||
performance_compare.v | ||
regress.v | ||
repeat.v | ||
test_if_v_test_system_works.v | ||
test_os_process.v | ||
vbin2v.v | ||
vbug.v | ||
vbuild-examples.v | ||
vbuild-tools.v | ||
vbuild-vbinaries.v | ||
vbump.v | ||
vbump_test.v | ||
vcheck-md.v | ||
vcomplete.v | ||
vcompress.v | ||
vcreate.v | ||
vcreate_test.v | ||
vdoctor.v | ||
vfmt.v | ||
vgret.defaults.toml | ||
vgret.v | ||
vpm.v | ||
vrepl.v | ||
vself.v | ||
vsetup-freetype.v | ||
vshader.v | ||
vsymlink.v | ||
vtest-all.v | ||
vtest-cleancode.v | ||
vtest-fmt.v | ||
vtest-parser.v | ||
vtest-self.v | ||
vtest.v | ||
vtracev.v | ||
vup.v | ||
vwatch.v | ||
vwipe-cache.v |