diff options
| author | Gareth Rees | 2013-06-04 15:37:12 +0100 |
|---|---|---|
| committer | Gareth Rees | 2013-06-04 15:37:12 +0100 |
| commit | fc5666204f9052dcd35297ff8541b0c578f8dda2 (patch) | |
| tree | ecec837d534cbc6de7dea0681a5095612fb3505e /mps/code/testlib.c | |
| parent | 6f356edfb1b8850d1351109745b44b28ac552f86 (diff) | |
| download | emacs-fc5666204f9052dcd35297ff8541b0c578f8dda2.tar.gz emacs-fc5666204f9052dcd35297ff8541b0c578f8dda2.zip | |
Call abort() instead of exit() for convenience when debugging.
Copied from Perforce
Change: 182495
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/testlib.c')
| -rw-r--r-- | mps/code/testlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mps/code/testlib.c b/mps/code/testlib.c index 7634fcf181c..fe81040ae85 100644 --- a/mps/code/testlib.c +++ b/mps/code/testlib.c | |||
| @@ -328,7 +328,7 @@ void verror(const char *format, va_list args) | |||
| 328 | vfprintf(stderr, format, args); | 328 | vfprintf(stderr, format, args); |
| 329 | fprintf(stderr, "\n"); | 329 | fprintf(stderr, "\n"); |
| 330 | fflush(stderr); /* make sure the message is output */ | 330 | fflush(stderr); /* make sure the message is output */ |
| 331 | exit(1); | 331 | abort(); |
| 332 | } | 332 | } |
| 333 | 333 | ||
| 334 | 334 | ||