[libxml2] testapi: Disable on Windows for now



commit b0556e14491a3ff50d4493c6c0099842f3090bb3
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sun Sep 4 18:49:23 2022 +0200

    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=");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]