1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-23 07:12:12 -07:00

Flush telemetry before aborting in the test suite.

Copied from Perforce
 Change: 186788
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-07-02 11:41:23 +01:00
parent 63c4b56bf9
commit c4eb949d65

View file

@ -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