[master] 941536293 build: Link vtest to varnishtest
Nils Goroll
nils.goroll at uplex.de
Wed May 21 09:51:15 UTC 2025
Hi,
I had the same before, but it does not work with
https://github.com/nigoroll/vtest2/blob/main/tests/a00000.vtc#L3
vtc_main outputs argv[0], and when linking the shell script, that remains
"varnishtest". Yes, we could also change the test to accept both, but I thought
this way around was cleaner.
On 21.05.25 11:35, Dridi Boukelmoune wrote:
>
> commit 94153629361e2cd8622a360cd2ddc097a1ebab23
> Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
> Date: Wed May 21 11:31:00 2025 +0200
>
> build: Link vtest to varnishtest
>
> $ file bin/varnishtest/varnishtest
> bin/varnishtest/varnishtest: POSIX shell script, ASCII text executable
>
> This script takes care of invoking the actual varnishtest executable
> with a proper environment in order to link shared libraries from this
> build tree first, and otherwise from the system-wide locations.
>
> diff --git a/bin/varnishtest/Makefile.am b/bin/varnishtest/Makefile.am
> index 411be155d..287d1eaa7 100644
> --- a/bin/varnishtest/Makefile.am
> +++ b/bin/varnishtest/Makefile.am
> @@ -17,7 +17,7 @@ bin_PROGRAMS = varnishtest
> all-local: vtest
>
> vtest: varnishtest
> - ln -f .libs/varnishtest vtest
> + ln -f varnishtest vtest
>
> install-exec-hook:
> ln -f $(DESTDIR)$(bindir)/varnishtest$(EXEEXT) \
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
--
Nils Goroll (he/him)
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32
22301 Hamburg
tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753
xmpp://slink@jabber.int.uplex.de/
http://uplex.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x1DCD8F57A3868BD7.asc
Type: application/pgp-keys
Size: 3943 bytes
Desc: OpenPGP public key
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20250521/81d4d989/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20250521/81d4d989/attachment-0001.bin>
More information about the varnish-commit
mailing list