X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by lists.alpinelinux.org (Postfix) with ESMTP id C8F8F5C3F8F for ; Tue, 24 Oct 2017 13:46:17 +0000 (GMT) Received: by mail-wm0-f50.google.com with SMTP id b189so15744327wmd.4 for ; Tue, 24 Oct 2017 06:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0q7zS3jH0zWIiWwX65RsQ3hzCckWTqeqzLs6/1whNXg=; b=mRwye///v02j+3PKRv2olw1fJhOx0sAutqSMkQG/nueIjpOmi+Newm3YCLbS7vOQxn iy0aM8w83EZ62MLo5zQC/3TucFhx5k7uI7xvudVgB7++gWkuQz7iSzeDjyGYNSJWG5cK qgt4H86prZz+5GGZc6bUQUzLoYCoKGCC2cxGTdEkSOy0sp0N+u0JolWa7dU6SG9RMjA3 zM7gWnAPSaFD1M+d5y5rXf9czVIq5LjAeg0ZV3C4IS2bbdzR8k0zidF5i55wMpLfv0xb am9HSTFa7Is4fig4hMbY5Zr4SwjzdvwL/oJ8ezAEtmC9epW080l3Jtmr2FyKFYwyXMnK SpLA== 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=0q7zS3jH0zWIiWwX65RsQ3hzCckWTqeqzLs6/1whNXg=; b=lEiuuN3TY0HJukF3UleaXkXBvHT5QiNg/llYoqigwClPfIgeVQATN7WOihCjcnK3IG qCMIwJCDW6FhPzKTbGA3KEy0wEgHiDDLhmKoZ/pcOHQP2OugwmYOlWGfbtK5hnO4Au9E +dwCjPaauzddDtE6pKkRCoRZZG2ZWMpZVpDycVylbRoH2IcTdEs3nxAYLV6zVaf0XvhK lcHNEFjXVZ/qwQx6ot9f5/wWqxYbzTnq3r7zZq0B4Mf0Id2IBYIhB8S1yzpslSqRCAJ5 22otLkuuS92yn5mb5ddlmxB12IskWxtc+CsxYAOn1JqTR21reMCw8kpwZyHNuI3sEx3T Jg4Q== X-Gm-Message-State: AMCzsaUAvZ/JcBvUVlb2kUJWErAkrU4sG4T4F3SnuYrdSL5IQk1PySfg +Pw4y8mLT1yGidbSTvpopMbmcw8wXMl+SN+JZT3V4A== X-Google-Smtp-Source: ABhQp+TidHGqFUz9rvS+ZtGeJ2zLhnj46z7DhHnKt+Af8txBFRzbki/6VzgjBFGCdX7tkBt6+LQpo1JeyXajC3vb2c8= X-Received: by 10.28.91.65 with SMTP id p62mr5727604wmb.126.1508852776826; Tue, 24 Oct 2017 06:46:16 -0700 (PDT) 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.28.13.142 with HTTP; Tue, 24 Oct 2017 06:46:15 -0700 (PDT) From: Carlo Landmeter Date: Tue, 24 Oct 2017 15:46:15 +0200 Message-ID: Subject: [alpine-devel] Halt CI on missing testsuite/check To: Alpine-devel Content-Type: multipart/alternative; boundary="001a1144161ac7fe3b055c4b29d2" --001a1144161ac7fe3b055c4b29d2 Content-Type: text/plain; charset="UTF-8" Hi friends, I was going over the PR queue yesterday and found out that many of our fellow developers/contributors found their way to github and help us to bump versions of packages which are out of date. We appricate the time spend but it would be great if those contributors could also take care of the recent addition of testsuite support (aka abuild check). The idea is to add a check function to our apkbuilds and run tests that are created by upsteam in their scripts. Examples of such tests suites are "make check" and "make test". If for any reason upstream did not include any testsuites an alternative could be to just add a simple cmd --help > /dev/null to atleast make sure the resulting binaries actually work. If by any chance the included testsuites fail it would be nice if contributors would try to fix them (send patches upstream) or else atleast indicate why they fail and add a message to the commit log and set options to include !check. To actually gain attention regarding testsuites my suggestion would be to require testsuites (abuild check) on our current CI. I wrote a small patch [1] to let abuild halt if check is not found (currently it only issues a warning). 1. http://tpaste.us/40l1 -carlo --001a1144161ac7fe3b055c4b29d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi friends,

I was going over= the PR queue yesterday and found out that many of our fellow
dev= elopers/contributors found their way to github and help us to bump versions=
of packages which are out of date. We appricate the time spend b= ut it would be
great if those contributors could also take care o= f the recent addition of=C2=A0
testsuite support (aka abuild chec= k).=C2=A0

The idea is to add a check function to o= ur apkbuilds and run tests that are=C2=A0
created by upsteam in t= heir scripts. Examples of such tests suites are=C2=A0
"make = check" and "make test". If for any reason upstream did not i= nclude any
testsuites an alternative could be to just add a simpl= e cmd --help > /dev/null=C2=A0
to atleast make sure the result= ing binaries actually work.

If by any chance the i= ncluded testsuites fail it would be nice if contributors
would tr= y to fix them (send patches upstream) or else atleast indicate why they
fail and add a message to the commit log and set options to include = !check.

To actually gain attention regarding tests= uites my suggestion would be to=C2=A0
require testsuites (abuild = check) on our current CI. I wrote a small patch [1]
to let abuild= halt if check is not found (currently it only issues a warning).




-carlo
--001a1144161ac7fe3b055c4b29d2-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---