Add newline on alarm timeouts to help error parsers
This commit is contained in:
parent
6ba45d3383
commit
023b2edd48
|
|
@ -73,6 +73,9 @@ private:
|
|||
|
||||
if (v3Global.opt.debugRuntimeTimeout()) {
|
||||
puts("void alarmHandler(int signum) {\n");
|
||||
// Add newline so %Error is at beginning-of-line, as might get the alarm
|
||||
// when in the middle of some other print with no newline
|
||||
puts(" VL_PRINTF_MT(\"\\n\");\n");
|
||||
puts(" VL_FATAL_MT(\"\", 0, \"\", \"Alarm signal received,"s
|
||||
+ " '--debug-runtime-timeout "s
|
||||
+ std::to_string(v3Global.opt.debugRuntimeTimeout()) + "' exceeded\\n\");\n");
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
Sleeping....
|
||||
|
||||
%Error: Alarm signal received, '--debug-runtime-timeout 1' exceeded
|
||||
|
||||
Aborting...
|
||||
|
|
|
|||
Loading…
Reference in New Issue