aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test1.c b/src/test1.c
index ec65df86c..f8257e0c1 100644
--- a/src/test1.c
+++ b/src/test1.c
@@ -1901,6 +1901,12 @@ static int sqlite_abort(
int argc, /* Number of arguments */
char **argv /* Text of each argument */
){
+#if defined(_MSC_VER)
+ /* We do this, otherwise the test will halt with a popup message
+ * that we have to click away before the test will continue.
+ */
+ _set_abort_behavior( 0, _CALL_REPORTFAULT );
+#endif
assert( interp==0 ); /* This will always fail */
abort();
return TCL_OK;