From nobody Tue Feb 10 00:23:20 2026 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1556707800; cv=none; d=zoho.com; s=zohoarc; b=ARBaqR2E3sKyFkBAaXAwXMrM5gujj7BmNGen+FIGKVBI5e9yTiXFy0Fc7o948dBqbF2odd7KBIqakyLOZZ20bTPDxoD20k3wi8ONBF3brplWeY0vtcQ0/caVk6rXU3O2QiTQ1EOgGziQp/GgctxScxDdSrlbXDMfPagVmOHsEKo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556707800; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=di+wk96kkzuuNBw/iwDywlI6EZhYNPvW1RIrq24LXXA=; b=KWUI/Gl983zPqm43y5EKMoVkXG51FhgrTrLv8s2uRuZJpOv//9HTVvv9d+km+aIrsGrQeVWE23hsoPGxEZScPu4KKEnNUDvdopJuA1jR/iqtmgUHdlGReThvyCljb45BIgKQrlgUl4K5sEuX4kC6NA8C9zjcJQk8qVk2gszGL4U= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1556707800636859.6466792445777; Wed, 1 May 2019 03:50:00 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hLmnE-0005XE-VI; Wed, 01 May 2019 10:48:52 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hLmnD-0005Vc-7h for xen-devel@lists.xenproject.org; Wed, 01 May 2019 10:48:51 +0000 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id b3d55896-6bfe-11e9-b019-af55abf72e0d; Wed, 01 May 2019 10:48:49 +0000 (UTC) X-Inumbo-ID: b3d55896-6bfe-11e9-b019-af55abf72e0d X-IronPort-AV: E=Sophos;i="5.60,417,1549929600"; d="scan'208";a="84837304" From: Ian Jackson To: Date: Wed, 1 May 2019 11:48:34 +0100 Message-ID: <20190501104839.21621-11-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190501104839.21621-1-ian.jackson@eu.citrix.com> References: <20190501104839.21621-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH v2 10/15] ts-kernel-build: Introduce cmd() X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Right now this is a simple wrapper around target_cmd_build. No functional change. Signed-off-by: Ian Jackson --- ts-kernel-build | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/ts-kernel-build b/ts-kernel-build index 3dad7d36..72ca98a1 100755 --- a/ts-kernel-build +++ b/ts-kernel-build @@ -48,6 +48,11 @@ my $parms =3D $archparms->{ $r{arch} }; =20 sub enable_xen_config (); =20 +sub cmd ($$) { + my ($timeout, $script) =3D @_; + target_cmd_build($ho, $timeout, $builddir, $script); +} + sub checkout () { return if $reuse; =20 @@ -58,7 +63,7 @@ sub checkout () { if (length($r{tree_pq_linux})) { build_clone($ho, 'pq_linux', $builddir, 'linux/.hg/patches'); =20 - target_cmd_build($ho, 1000, $builddir, <{DefConfig} ? $parms->{DefConfig}."_defconfig" : "defconfig"; - target_cmd_build($ho, 1000, $builddir, <&1 && touch ../build-ok-stamp) |tee= ../log test -f ../build-ok-stamp @@ -400,7 +405,7 @@ sub kinstall () { my $dtbs_install =3D ''; $dtbs_install =3D 'dtbs_install' if $parms->{Dtbs}; =20 - target_cmd_build($ho, 300, $builddir, <