From 5ca4f3a04c1cc707f96e48a3b2e84c880096e62c Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Mon, 20 Oct 2014 22:31:29 +0200 Subject: [PATCH] report aborted test runs in jenkins --- regression-tests/start-test-stop | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/regression-tests/start-test-stop b/regression-tests/start-test-stop index 0c30092276..536b0ed17c 100755 --- a/regression-tests/start-test-stop +++ b/regression-tests/start-test-stop @@ -117,6 +117,13 @@ kill_process () set +e trap - EXIT INT TERM + if [ $1 -gt 1 ] + then + echo "exitvalue$1" >> failed_tests + ./toxml + ./totar + fi + pids=$(cat pdns*.pid) if [ -n "$pids" ] -- 2.47.2