From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [kvm-unit-tests PATCH v4 0/6] reduce exit status ambiguity and more Date: Thu, 3 Mar 2016 14:03:43 +0100 Message-ID: <56D8362F.3030903@redhat.com> References: <1456939982-13178-1-git-send-email-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: rkrcmar@redhat.com To: Andrew Jones , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:48165 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbcCCND4 (ORCPT ); Thu, 3 Mar 2016 08:03:56 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id A6E81C00070E for ; Thu, 3 Mar 2016 13:03:55 +0000 (UTC) In-Reply-To: <1456939982-13178-1-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Queued, thanks. Paolo On 02/03/2016 18:32, Andrew Jones wrote: > The first three patches makes changes to reduce the exit status ambiguity, > for which kvm-unit-tests is famous. The next couple are a cleanup and a > minor feature enhancement. The last is a feature enhancement bringing > timeouts to unittest runs. > > v4: Paolo's suggested cleanups for patch 3/6. > v3: rebased on latest master; now includes powerpc/run changes (specific > differences with v2 are pointed out in the patches that changed - > only two of them) > v2: Thanks to Radim for suggestions and help getting the suggestions > implemented. > > > Andrew Jones (6): > x86: clean up exit use, use abort > run scripts need consistent exit status > arch-run: reduce return code ambiguity > cleanup unittests.cfg headers > runtime: enable some unittest config overriding > run scripts: add timeout support > > arm/run | 7 ++--- > arm/unittests.cfg | 27 ++++++++++++------ > lib/x86/desc.c | 4 +-- > powerpc/run | 24 ++++++++++++---- > run_tests.sh | 4 +-- > scripts/arch-run.bash | 71 +++++++++++++++++++++++++++++++++++++++++++++++ > scripts/functions.bash | 8 ++++-- > scripts/mkstandalone.sh | 21 +++++++------- > scripts/runtime.bash | 20 +++++++------ > x86/README | 10 ++++--- > x86/hyperv_stimer.c | 9 ++---- > x86/pku.c | 4 +-- > x86/run | 14 ++++------ > x86/smap.c | 4 +-- > x86/tscdeadline_latency.c | 4 +-- > x86/unittests.cfg | 22 ++++++++++----- > x86/vmx.c | 2 +- > 17 files changed, 179 insertions(+), 76 deletions(-) > create mode 100644 scripts/arch-run.bash >