From c4eb949d65a5ee5b070ebac5e43740a0ecc03038 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 2 Jul 2014 11:41:23 +0100 Subject: [PATCH] Flush telemetry before aborting in the test suite. Copied from Perforce Change: 186788 ServerID: perforce.ravenbrook.com --- mps/code/testlib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mps/code/testlib.c b/mps/code/testlib.c index be115e9e8df..5b8b17d5ef2 100644 --- a/mps/code/testlib.c +++ b/mps/code/testlib.c @@ -340,6 +340,7 @@ void verror(const char *format, va_list args) (void)vfprintf(stderr, format, args); (void)fprintf(stderr, "\n"); (void)fflush(stderr); /* make sure the message is output */ + mps_telemetry_flush(); /* On Windows, the abort signal pops up a dialog box. This suspends * the test suite until a button is pressed, which is not acceptable * for offline testing, so if the MPS_TESTLIB_NOABORT environment