varnish-cache icon indicating copy to clipboard operation
varnish-cache copied to clipboard

build: Adopt vtest for varnishtest

Open dridi opened this issue 2 years ago • 2 comments

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 -i only 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 varnishtest use libvtest.a And keep varnishtest with varnish-specific command line options.

Then we can support TLS in vtest.

dridi avatar Sep 18 '23 13:09 dridi

Prior work: https://github.com/varnishcache/varnish-cache/pull/2838

nigoroll avatar Sep 18 '23 13:09 nigoroll

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

nigoroll avatar Sep 27 '23 10:09 nigoroll