From a632f6d5b10eb464b945198b950f531ffde4fe51 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 26 Sep 2008 18:56:56 +0000 Subject: [PATCH] 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 4cd390b..e426b4a 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) { -- 2.7.4