From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIHzB-0003Dm-ND for qemu-devel@nongnu.org; Fri, 15 Aug 2014 09:56:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIHz6-00047O-46 for qemu-devel@nongnu.org; Fri, 15 Aug 2014 09:56:05 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:62310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIHz5-000473-Tc for qemu-devel@nongnu.org; Fri, 15 Aug 2014 09:56:00 -0400 Received: by mail-lb0-f181.google.com with SMTP id 10so1999785lbg.12 for ; Fri, 15 Aug 2014 06:55:58 -0700 (PDT) From: Maria Kustova Date: Fri, 15 Aug 2014 17:55:47 +0400 Message-Id: Subject: [Qemu-devel] [PATCH 0/2] runner: Control test duration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, Maria Kustova , stefanha@redhat.com The first patch adds the '--duration SECONDS' argument. After the specified duration the runner allows to end the current test and then exits. The second patch adds forced termination of a program under test, if the test execution takes more than 5 minutes. Terminated tests are marked as failed. If a program under test hangs, then the specified test duration can be overrun up to 5 minutes. The patch series is based on https://github.com/stefanha/qemu/commits/block, commit 07a45925fa88376f8583a333e74f7eeb0f455685 Maria Kustova (2): runner: Add an argument for test duration runner: Kill a program under test by time-out tests/image-fuzzer/runner.py | 52 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 9 deletions(-) -- 1.9.3