]> granicus.if.org Git - pdns/commitdiff
report aborted test runs in jenkins
authorKees Monshouwer <mind04@monshouwer.org>
Mon, 20 Oct 2014 20:31:29 +0000 (22:31 +0200)
committermind04 <mind04@monshouwer.org>
Mon, 20 Oct 2014 20:31:29 +0000 (22:31 +0200)
regression-tests/start-test-stop

index 0c300922763d69cee5ccd1b8f991acbf16dba7f8..536b0ed17c7fdd9cda909197ba5867c04699939c 100755 (executable)
@@ -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" ]