From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJT8n-0006ne-LZ for qemu-devel@nongnu.org; Mon, 18 Aug 2014 16:02:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJT8f-0003zG-UH for qemu-devel@nongnu.org; Mon, 18 Aug 2014 16:02:53 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:38461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJT8f-0003z7-OC for qemu-devel@nongnu.org; Mon, 18 Aug 2014 16:02:45 -0400 Received: by mail-la0-f43.google.com with SMTP id gi9so2544138lab.30 for ; Mon, 18 Aug 2014 13:02:44 -0700 (PDT) From: Maria Kustova Date: Tue, 19 Aug 2014 00:02:33 +0400 Message-Id: Subject: [Qemu-devel] [PATCH V2 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 10 minutes to indicate program freezes. If a program under test hangs, then the specified test duration can be overrun up to 10 minutes. The patch series is based on https://github.com/stefanha/qemu/commits/block, commit 07a45925fa88376f8583a333e74f7eeb0f455685 v1 -> v2: * Trivial fixes based on the review of Fam Zheng * Increased time-out (in some cases 5 minutes interval returned false negatives) Maria Kustova (2): runner: Add an argument for test duration runner: Kill a program under test by time-out tests/image-fuzzer/runner.py | 50 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 8 deletions(-) -- 1.9.3