From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH kvm-unit-tests 1/4] lib: add setjmp header and x86 implementation Date: Tue, 15 Dec 2015 17:53:34 +0100 Message-ID: <5670458E.3060103@redhat.com> References: <1450175138-1140-1-git-send-email-pbonzini@redhat.com> <1450175138-1140-2-git-send-email-pbonzini@redhat.com> <20151215164349.GD5373@hawk.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, dmatlack@google.com To: Andrew Jones Return-path: Received: from mail-wm0-f43.google.com ([74.125.82.43]:34720 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933344AbbLOQxh (ORCPT ); Tue, 15 Dec 2015 11:53:37 -0500 Received: by mail-wm0-f43.google.com with SMTP id l126so2886118wml.1 for ; Tue, 15 Dec 2015 08:53:36 -0800 (PST) In-Reply-To: <20151215164349.GD5373@hawk.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: On 15/12/2015 17:43, Andrew Jones wrote: > How about making this a "real" test, i.e. > > report("longjmp", i == 10); > return report_summary(); > > I have patches that allow adding timeouts to tests, that I've been > thinking about posting upstream. With those we could add a short > timeout to this one, allowing us to get the FAIL when we loop > forever, as well as when we never loop. Good idea. Paolo