From: Andrew Jones Subject: [kvm-unit-tests PATCH 5/6] runtime: enable some unittest config overriding Date: Tue, 26 Jan 2016 19:42:10 +0100 Message-ID: <1453833731-23215-6-git-send-email-drjones@redhat.com> References: <1453833731-23215-1-git-send-email-drjones@redhat.com> Cc: pbonzini@redhat.com, rkrcmar@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44349 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbcAZSmZ (ORCPT ); Tue, 26 Jan 2016 13:42:25 -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 AA5563F3DB for ; Tue, 26 Jan 2016 18:42:25 +0000 (UTC) In-Reply-To: <1453833731-23215-1-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Andrew Jones --- scripts/runtime.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runtime.bash b/scripts/runtime.bash index 9c973f26f8de6..c22a6a7883dec 100644 --- a/scripts/runtime.bash +++ b/scripts/runtime.bash @@ -10,8 +10,8 @@ function run() local kernel="$4" local opts="$5" local arch="$6" - local check="$7" - local accel="$8" + local check="${CHECK:-$7}" + local accel="${ACCEL:-$8}" if [ -z "$testname" ]; then return @@ -57,7 +57,7 @@ function run() return $ret } -MAX_SMP=$(getconf _NPROCESSORS_CONF) +MAX_SMP=${MAX_SMP:-$(getconf _NPROCESSORS_CONF)} # # Probe for MAX_SMP, in case it's less than the number of host cpus. # -- 2.4.3