This repository was archived by the owner on Feb 18, 2026. It is now read-only.
Closed
Conversation
FTR: I am not convinced that a life without automake is a better life
This was referenced Oct 16, 2025
Contributor
|
Due to a misunderstanding, I was not aware of this PR when I started implementing the same basic idea. However, this PR did also suffer from a number of problems, most importantly doing dlopen() before the fork() which protects the vtest-core against the tests going off the rails. The committed version also has an autodiscovery facility, so users, in the normal case, will not have to think about proper -E arguments. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the groundwork to add vtc commands at runtime, as required for making it possibly to use an externally packaged vtest in vinyl-cache.
The first commit adds dynamic registration of top level commands: Rather than using a constant array of commands, we maintain a dynamic array to which registered commands are appended.
The second commit adds the minimal
dlopen()scaffolding to load extensions and adds a demo-extension calledfoowhich adds a command by the same name.Ref: varnishcache/varnish-cache#4398