From: Viktor Szakats Date: Mon, 23 Jun 2025 06:52:21 +0000 (+0200) Subject: tests/libtest: call `curlx_now_init()` for unit 1399, 2600 (Windows) X-Git-Tag: rc-8_15_0-2~47 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2de3f08e327b749c5a518aef61ef7d06ebcae97;p=thirdparty%2Fcurl.git tests/libtest: call `curlx_now_init()` for unit 1399, 2600 (Windows) Follow-up to 35d0c047ce713298f15771649ffe7662404628f0 #17641 Closes #17714 --- diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc index 7142a52c18..3587ecd285 100644 --- a/tests/libtest/Makefile.inc +++ b/tests/libtest/Makefile.inc @@ -35,7 +35,9 @@ CURLX_CFILES = \ ../../lib/curlx/warnless.c \ ../../lib/curlx/multibyte.c \ ../../lib/curlx/timediff.c \ + ../../lib/curlx/timeval.c \ ../../lib/curl_threads.c \ + ../../lib/curlx/version_win32.c \ ../../lib/curlx/wait.c # All libtest programs diff --git a/tests/libtest/first.c b/tests/libtest/first.c index ee35494c26..abc7c34014 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -112,6 +112,9 @@ int main(int argc, char **argv) CURLX_SET_BINMODE(stdout); memory_tracking_init(); +#ifdef _WIN32 + curlx_now_init(); +#endif /* * Setup proper locale from environment. This is needed to enable locale-