qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V2 0/2] runner: Control test duration
@ 2014-08-18 20:02 Maria Kustova
  2014-08-18 20:02 ` [Qemu-devel] [PATCH V2 1/2] runner: Add an argument for " Maria Kustova
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Maria Kustova @ 2014-08-18 20:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, famz, Maria Kustova, stefanha

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-19 11:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18 20:02 [Qemu-devel] [PATCH V2 0/2] runner: Control test duration Maria Kustova
2014-08-18 20:02 ` [Qemu-devel] [PATCH V2 1/2] runner: Add an argument for " Maria Kustova
2014-08-18 20:02 ` [Qemu-devel] [PATCH V2 2/2] runner: Kill a program under test by time-out Maria Kustova
2014-08-19  9:18 ` [Qemu-devel] [PATCH V2 0/2] runner: Control test duration Stefan Hajnoczi
2014-08-19 11:13   ` Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).