Commit 5428011c authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Return with non-zero exit code if stack overflow detected.

parent 038dc835
......@@ -48,6 +48,7 @@ def report_partition_@_LOWER:Name_@():
if reserved_stack < actual_stack:
print("[x] ERROR: Stack usage of", task_name, "is", actual_stack,
"which is higher than", reserved_stack)
sys.exit(1)
@@TABLE@@
check_task("@_LOWER:Thread_Names_@")
@@END_TABLE@@
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment