#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
+#if EV_WINDOWS
+#define SKIP_UNDER_WINDOWS TT_SKIP
+#else
+#define SKIP_UNDER_WINDOWS 0
+#endif
+
/* set if a test needs to call loopexit on a base */
static struct event_base *exit_base;
#define HTTP_N(title, name, test_opts, arg) \
{ #title, http_##name##_test, TT_ISOLATED|test_opts, &basic_setup, HTTP_CAST_ARG(arg) }
#define HTTP(name) HTTP_N(name, name, 0, NULL)
+#define HTTP_OPT(name, opt) HTTP_N(name, name, opt, NULL)
#define HTTPS(name) \
{ "https_openssl_" #name, https_##name##_test, TT_ISOLATED, &basic_setup, NULL }
#define HTTPS_MBEDTLS(name) \
{ "connection_retry_conn_address", http_connection_retry_conn_address_test,
TT_ISOLATED|TT_OFF_BY_DEFAULT, &basic_setup, NULL },
- HTTP(data_length_constraints),
+ HTTP_OPT(data_length_constraints, SKIP_UNDER_WINDOWS),
HTTP(read_on_write_error),
HTTP(non_lingering_close),
HTTP(lingering_close),
HTTP(request_extra_body),
HTTP(newreqcb),
- HTTP(max_connections),
+ HTTP_OPT(max_connections, SKIP_UNDER_WINDOWS),
HTTP(timeout_read_client),
HTTP(timeout_read_server),