From: Mike D. Lowis Date: Tue, 7 Apr 2015 12:57:14 +0000 (-0400) Subject: Added text representation of signal name to crash output X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=1105e4a88bbda546991da0314ba6060f9f624dba;p=projs%2Fatf.git Added text representation of signal name to crash output --- diff --git a/source/atf.c b/source/atf.c index 992f681..e1017e8 100755 --- a/source/atf.c +++ b/source/atf.c @@ -35,7 +35,7 @@ static void handle_signal(int sig) { } /* Error and exit. No summary will be printed but the user will know which test has crashed. */ - fprintf(stderr,"%s:%d:0:%s:CRASH (signal: %d)\n", Curr_File, Curr_Line, Curr_Test, sig); + fprintf(stderr,"%s:%d:0:%s:CRASH (signal: %d - %s)\n", Curr_File, Curr_Line, Curr_Test, sig, sig_name); Failed++; (void)atf_print_results(); exit(1);