Disable system dialog when tests fail on Windows
@@ -411,6 +411,12 @@ test_pwhash(void)
int
main(void)
{
+#if defined(_WIN32)
+ // On Windows, disable the "Abort - Retry - Ignore" GUI dialog that otherwise pops up on
+ // assertion failure.
+ _set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
+#endif
+
int ret;
ret = hydro_init();