X-Original-To: alpine-devel@lists.alpinelinux.org Received: from luna.geeknet.cz (luna.geeknet.cz [37.205.9.141]) by lists.alpinelinux.org (Postfix) with ESMTP id A8BA05C4202 for ; Thu, 26 Jan 2017 13:08:33 +0000 (GMT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luna.geeknet.cz (Postfix) with ESMTPSA id 77BA26A807; Thu, 26 Jan 2017 14:08:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jirutka.cz; s=mail; t=1485436111; bh=vmdOpfsqkAwHd9fneEXcCCgRJwoyztgyTtj6pRo1z9w=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=byDpSX5b5J3fsoKLSOs3rCeEdmwhnhlkbFuAl1c0xZm5bKQx3rSe26PcIUQ6ypS9i wO0ufbKt/P6th6chuOf/tdOu4Zv5qB6wDi+TSSyiMFyAvn7fwS+DFEGoD6K2h0BXFE rkCPb2PD8WCyt0OQ39IFVFa29JR6nydhNGAxOVN0= Content-Type: text/plain; charset=utf-8 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [alpine-devel] Proposal: testsuite support in APKBUILDs From: Jakub Jirutka In-Reply-To: <20170126112655.44ad5c0e@vostro.util.wtbts.net> Date: Thu, 26 Jan 2017 14:08:29 +0100 Cc: William Pitcock , alpine-devel@lists.alpinelinux.org Content-Transfer-Encoding: quoted-printable Message-Id: <4EDA0683-3991-44D0-882C-C34FBD4C38B2@jirutka.cz> References: <20170126112655.44ad5c0e@vostro.util.wtbts.net> To: Timo Teras Hi, currently we have the following phases: sanitycheck, builddeps, clean, = fetch, unpack, prepare, mkusers, rootpkg, cleanup. All of them except = rootpkg are verbs. So I=E2=80=99d prefer =E2=80=9Ccheck=E2=80=9D (as = Arch) instead of =E2=80=9Ctestsuite=E2=80=9D. Jakub > On 26. Jan 2017, at 10:26, Timo Teras wrote: >=20 > On Wed, 25 Jan 2017 21:38:00 -0600 > William Pitcock wrote: >=20 >> As such, I propose we add a testsuite() phase to the build process, >> that runs after build(), but prior to package(). APKBUILDs should >> override the testsuite phase, but the default_testsuite() function >> will be a noop for the Alpine 3.6 release cycle that raises a warning >> that the APKBUILD does not define any mechanism for running a >> testsuite. If "!testsuite" is defined in $features, the warning is >> ignored. >>=20 >> For cross-builds, the testsuite would be skipped unless the package >> is noarch. >>=20 >> After Alpine 3.6 (or maybe 3.7), we change the warning to a fatal >> error, requiring APKBUILDs to explicitly opt out of running a >> testsuite through $features. >>=20 >> Thoughts? >=20 > +1 >=20 > We have some packages that run 'make check' or similar, but it would = be > good to make it a separate step. >=20 > The above plan sounds good to me. >=20 > Thanks, > Timo >=20 >=20 > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- >=20 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---