varnish-cache
varnish-cache copied to clipboard
build: Adopt vtest for varnishtest
Here is the check list of steps to get there:
- [x] Make the check list
- [ ] Register custom commands in vtest This would give us the ability to retain vtc_varnish, vtc_logexp etc here, remove them in vtest.
- [ ] Split vtest into a library and a program
Some command line options like
-ionly make sense here, remove them in vtest. - Add tooling to bundle vtest as a git submodule
- [ ] Add automation to vendor vtest when we branch out In trunk we can track vtest master as a submodule, we replace it with a static copy when we create x.y branches.
- [ ] Add automation to apply vtest patch to x.y branches The goal is facilitate cherry-picks from the vtest tree to the varnish-cache sub-tree
- [ ] Add a vtest submodule
- [ ] Make
varnishtestuselibvtest.aAnd keepvarnishtestwith varnish-specific command line options.
Then we can support TLS in vtest.
Prior work: https://github.com/varnishcache/varnish-cache/pull/2838
Updated plan from VDD:
- Re-start the vtest repo as vtest2, preserving the git history from varnish-cache
- Change order of TODOs, start with submodule