From: Andrew Jones Subject: [kvm-unit-tests PATCH v4 0/6] reduce exit status ambiguity and more Date: Wed, 2 Mar 2016 18:32:56 +0100 Message-ID: <1456939982-13178-1-git-send-email-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: pbonzini@redhat.com, rkrcmar@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58693 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755186AbcCBRdJ (ORCPT ); Wed, 2 Mar 2016 12:33:09 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id BB618461DA for ; Wed, 2 Mar 2016 17:33:08 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: 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 -- 2.4.3