diff --git a/test/Makefile b/test/Makefile index a314af12..1bae88be 100644 --- a/test/Makefile +++ b/test/Makefile @@ -309,6 +309,7 @@ mip_diabish: CC = gcc mip_diabish: CFLAGS += -std=gnu89 -Werror=declaration-after-statement -Werror=vla -Wno-pedantic mip_diabish: mip_test +mip_vc98: MDASH = 0 mip_vc98: mip_test.c mongoose.c mongoose.h packed_fs.c Makefile $(DOCKER) mdashnet/vc98 wine cl mip_test.c packed_fs.c $(VCFLAGS) $(DEFS) $(TFLAGS) /Fe$@.exe $(DOCKER) -e WINEPREFIX=/tmp/wineprefix mdashnet/vc98 wine $@.exe diff --git a/test/mip_x_test.c b/test/mip_x_test.c index f8268209..2a18bb32 100644 --- a/test/mip_x_test.c +++ b/test/mip_x_test.c @@ -593,6 +593,7 @@ bool mip_x_test(struct mg_mgr *mgr) { // Clear s_error = false; + mg_mgr_poll(mgr, 0); // prevent mDash from trashing mg_mgr_free() mg_mgr_free(mgr); ASSERT(mgr->conns == NULL); // Deconstruction OK printf("HEALTH_DASHBOARD\t\"cleanup\": %s\n", s_error ? "false":"true");