X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by lists.alpinelinux.org (Postfix) with ESMTP id 420495C4917 for ; Thu, 26 Jan 2017 09:27:00 +0000 (GMT) Received: by mail-lf0-f44.google.com with SMTP id n124so142118905lfd.2 for ; Thu, 26 Jan 2017 01:27:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LALnXfWSHw+SskmmBFpTnqbZcpS03Ndai26408dgeaI=; b=KZk9lcsihzPLJwrq0STWtkxKnUwj/E1fpjiNDyMlUAGyOFGsUxvdBh8pI0szPkmSLm tdUPofSmiceYqc7mi+hGOJfRn4LsxWShxKaa3OnLGellQfcWfhx8sxjh+uDRtJtugmm1 Wrk8+ZASm4PZrCGbe7z/06t0uZjxcV9hDtYYgSHftPru5U/8KrwXqe1T84rEq78Gvilf FWnbFqu0OVOL462d6BNObrV91w8rvuGCk+uhz8mUxEmznmTZUVukeOGhT/sNKZReUBHZ vv00fHaTLhBuXpENCpi7EkViRdLzWRhajY4/qk8EnANs2dQqgFgbleY+Sl3IgCcFIZ55 1ftw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=LALnXfWSHw+SskmmBFpTnqbZcpS03Ndai26408dgeaI=; b=um8uFSULxmuZSJRdmz69aN+UDglAy8ZJ0LhtzVJ0rXPbMxsEPrICT8JaUjKVR3+zZB hGKosu0FZrGrFWanfSv4mKl7avdWjceYRyay7jxABFu8m4PCav+YOdNQj/pGnzK70six r6ZdgB02W2v4vWGRnq+qJH6hH4r4qOUpuivCGP5K2zU6BXYP2XJFRvlm2eG0bkJDNZUh 4Zrk76cLMYgbUTQIXtBLUiswHAXG7GcQDwajDPjJ4IJngBhjleLZqPk7EM8zJMnyPBxP WwJldOyjGlvCmLkhyqJ3ZNmvg4t7byUbpQHxk+YweX4LUZ4cEo/B2jCHSgNPsLc+Azi4 KGNg== X-Gm-Message-State: AIkVDXJDm1qPPOjspe9uvA7xRFW1LAQ9bf4a4n43MZjA+ZgwPlnrtCHnNVGbsgdIwnDXVA== X-Received: by 10.46.77.149 with SMTP id c21mr628622ljd.69.1485422819417; Thu, 26 Jan 2017 01:26:59 -0800 (PST) Received: from vostro.util.wtbts.net ([2001:1bc8:101:f402:e66f:13ff:fef3:8cd0]) by smtp.gmail.com with ESMTPSA id d77sm307184lfd.26.2017.01.26.01.26.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Jan 2017 01:26:59 -0800 (PST) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Thu, 26 Jan 2017 11:26:55 +0200 From: Timo Teras To: William Pitcock Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Proposal: testsuite support in APKBUILDs Message-ID: <20170126112655.44ad5c0e@vostro.util.wtbts.net> In-Reply-To: References: X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 25 Jan 2017 21:38:00 -0600 William Pitcock wrote: > 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. > > For cross-builds, the testsuite would be skipped unless the package > is noarch. > > 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. > > Thoughts? +1 We have some packages that run 'make check' or similar, but it would be good to make it a separate step. The above plan sounds good to me. Thanks, Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---