From a632f6d5b10eb464b945198b950f531ffde4fe51 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 26 Sep 2008 18:56:56 +0000 Subject: if a test execution is aborted due to a signal, and the process returns no other exitcode, use 2000 + signal number as return code --- tests/runtests.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/runtests.pl b/tests/runtests.pl index 4cd390b5d..e426b4afd 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2109,6 +2109,7 @@ sub singletest { } else { $cmdres >>= 8; + $cmdres = (2000 + $signal_num) if($signal_num && !$cmdres); } } if(!$dumped_core) { -- cgit v1.2.3