summaryrefslogtreecommitdiff
path: root/merge-recursive.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2019-10-22 21:22:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-10-23 02:32:51 (GMT)
commitda1e295e008ba016eef008385afb2c20c7fc3ff8 (patch)
tree1f66eae8cbfac4a0a378da5fb1cf2a91bbaa25ab /merge-recursive.c
parent49b8133a9ece199a17db8bb2545202c6eac67485 (diff)
downloadgit-da1e295e008ba016eef008385afb2c20c7fc3ff8.zip
git-da1e295e008ba016eef008385afb2c20c7fc3ff8.tar.gz
git-da1e295e008ba016eef008385afb2c20c7fc3ff8.tar.bz2
t604[236]: do not run setup in separate tests
Transform the setup "tests" to setup functions, and have the actual tests call the setup functions. Advantages: * Should make life easier for people working with webby CI/PR builds who have to abuse mice (and their own index finger as well) in order to switch from viewing one testcase to another. Sounds awful; hopefully this will improve things for them. * Improves re-runnability: any failed test in any of these three files can now be re-run in isolation, e.g. ./t6042* --ver --imm -x --run=21 whereas before it would require two tests to be specified to the --run argument, the other needing to be picked out as the relevant setup test from one or two tests before. * Importantly, this still keeps the "setup" and "test" sections somewhat separate to make it easier for readers to discern what is just ancillary setup and what the intent of the test is. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-recursive.c')
0 files changed, 0 insertions, 0 deletions