]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/libtest: call `curlx_now_init()` for unit 1399, 2600 (Windows)
authorViktor Szakats <commit@vsz.me>
Mon, 23 Jun 2025 06:52:21 +0000 (08:52 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 23 Jun 2025 08:55:31 +0000 (10:55 +0200)
Follow-up to 35d0c047ce713298f15771649ffe7662404628f0 #17641

Closes #17714

tests/libtest/Makefile.inc
tests/libtest/first.c

index 7142a52c18fde6b45e8fec0db8ea0a4098e78a09..3587ecd285cd0d24557a0ef0eff7fbb160b46745 100644 (file)
@@ -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
index ee35494c26809ce6926efac69b1d75f4be7d5e28..abc7c3401463557e680de0b94d0e4d5956ca5ae1 100644 (file)
@@ -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-