]> git.ipfire.org Git - thirdparty/curl.git/commit
libtests: make test 1503,1504,1505 use the 1502 binary
authorDaniel Stenberg <daniel@haxx.se>
Wed, 11 Jun 2025 09:58:27 +0000 (11:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 11 Jun 2025 12:25:54 +0000 (14:25 +0200)
commit02dd471bbf8e04fc595ad0f28c965c278ffcefd0
tree8f1febd4fe87861da09c0300d4c86494e9ab6ae2
parentaea336aa231540c9d638939774474fc24b465ed5
libtests: make test 1503,1504,1505 use the 1502 binary

Adjust the differences at runtime instead of build-time, to avoid
extra buillds.

Set the `CURL_TESTNUM` env variable to pass test numbers to tests.

Make libtest/first.c use that env variable to set the `testnum` global
variable to allow tests to differ based on which test that runs it.

Closes #17591
tests/data/test1503
tests/data/test1504
tests/data/test1505
tests/libtest/Makefile.inc
tests/libtest/first.c
tests/libtest/lib1502.c
tests/libtest/test.h
tests/runner.pm