From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7ADC158087 for ; Fri, 4 Feb 2022 11:44:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 183A42BC051; Fri, 4 Feb 2022 11:44:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE0502BC04F for ; Fri, 4 Feb 2022 11:44:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8ED8D3432FC for ; Fri, 4 Feb 2022 11:44:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D54CF2CC for ; Fri, 4 Feb 2022 11:44:27 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1643789468.8985a4789c638fbe6f19ff98f3a48b4f4ef8d009.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: / X-VCS-Repository: repo/proj/guru X-VCS-Files: CONTRIBUTING.md X-VCS-Directories: / X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 8985a4789c638fbe6f19ff98f3a48b4f4ef8d009 X-VCS-Branch: master Date: Fri, 4 Feb 2022 11:44:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0eb94921-12b4-401c-a680-e56366e3fdd4 X-Archives-Hash: 6d20bd5194f3fc5786f2d3f5f8238029 commit: 8985a4789c638fbe6f19ff98f3a48b4f4ef8d009 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Feb 2 07:40:16 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Feb 2 08:11:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8985a478 CONTRIBUTING.md: how to run tests Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c97918dca..108da9e93 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,6 +24,12 @@ In GURU we use ['thin manifests'](https://wiki.gentoo.org/wiki/Repository_format String variables should be quoted (e.g. not `$P` or `${P}` but `"${P}"`). `repoman -dx full` will warn you about any unquoted variables you might have forgotten about. +- #### Run tests if you enable them + +You can enable `FEATURES="test"` for GURU in your [package.env](https://wiki.gentoo.org/wiki//etc/portage/package.env) or on the command line: + +`sudo env FEATURES=test USE=test ebuild foo-1.0.ebuild test` + - #### No Symlinks in the repository Please don't use symlinks in the repository (e.g. foobar-x.y.z.ebuild -> foobar-9999.ebuild), see [this forum posts](https://forums.gentoo.org/viewtopic-t-1079126-start-0.html) on why this is not a good idea.