X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) by lists.alpinelinux.org (Postfix) with ESMTP id E03FC5C41F3 for ; Thu, 26 Jan 2017 03:38:01 +0000 (GMT) Received: by mail-qt0-f174.google.com with SMTP id l7so54464928qtd.1 for ; Wed, 25 Jan 2017 19:38:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=lAFJgTKiVdQqlKVWWo6LCxR7VMr1jRUMkv1vnmn4uog=; b=1VV7xVEi6sFxQ1lYKT38Q3CHvrGZ37N0w7HBibKfghlflFTPZNGQv1nly8Mx4ZGhkY WG9ecIa9i03evq1XmkpYwu3DarPfkC2wwX4fTLDzISapF/hdh+RgMcuG2x0pZjvHsT1C hQ1UO74bV3+2iDY0MFs3i9S0lx9bjlY4nhKcW6dkiz0c3IvBifNot6AFzBj7TDzJDX7O 42HGWD/2yol5yblxCRVxRJHM2sznLsjQqD/MGLZv6M0wE0o/BhYsX8QFCnJCnSNljhRr K3AiDg+C7GS7TCZ1GeZ1lYFDZx8pmr/l7OLL+/rOGuPTz3n6jK4aWYYMAvo1YQKDwCO1 Tk7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lAFJgTKiVdQqlKVWWo6LCxR7VMr1jRUMkv1vnmn4uog=; b=hiyjNjgoLOwQC2fxq1EumMhl8gPUzoy5MzT73mFr1pAamEiBQb7sVomO1hveEjHxO1 cuvBfXq68kI/uBB5qjnDFUcwTGRTQ9uYorNrcG7uyrLTtXbv+wK1dhcXhT2R/D76yJCr cqgEn863WWD57R/2vBsLMj7SslLOkaKecbFyWY1y7Ig6SwhrTdyOd9yVYFixy8IlDhtF iZvt9b5lLWc6nMc6Nw0G/xidrFH06pWkHe0o41Fek6tijj0pnaARJd/UJpr+tk94gcwx ZDqSmBYUVzGw/HlibOT86WFW9jPbFiZgXYNBfpCM5kVJ3OYw17Ve0P+MNpMqsTcC+oSb Qfiw== X-Gm-Message-State: AIkVDXKwa9aFfMu4jLcdkqiC7CICuRm5EdnT4e4Np7SmzIjAHt/5QJrSs503Sx7TxGYk0+KiVbs1MOSdggAqIQ== X-Received: by 10.55.77.77 with SMTP id a74mr695603qkb.265.1485401880895; Wed, 25 Jan 2017 19:38:00 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.200.1.17 with HTTP; Wed, 25 Jan 2017 19:38:00 -0800 (PST) From: William Pitcock Date: Wed, 25 Jan 2017 21:38:00 -0600 Message-ID: Subject: [alpine-devel] Proposal: testsuite support in APKBUILDs To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 Hello, A concern I hear occasionally from people when discussing Alpine as a distribution they could use for their projects is that Alpine does not typically run testsuites in APKBUILDs. This is largely because abuild does not have awareness of testsuites. 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? --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---