From b0556e14491a3ff50d4493c6c0099842f3090bb3 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sun, 4 Sep 2022 18:49:23 +0200 Subject: [PATCH] testapi: Disable on Windows for now It's incredibly slow for some reason. --- testapi.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/testapi.c b/testapi.c index 3e81f664..2701f27f 100644 --- a/testapi.c +++ b/testapi.c @@ -124,6 +124,14 @@ int main(int argc, char **argv) { int ret; int blocks, mem; +#if defined(_WIN32) + setvbuf(stdout, NULL, _IONBF, 0); + setvbuf(stderr, NULL, _IONBF, 0); + + printf("Skipping on Windows for now\n"); + return(0); +#endif + #ifdef HAVE_PUTENV /* access to the proxy can slow up regression tests a lot */ putenv((char *) "http_proxy=");