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 4D2EF158088 for ; Wed, 2 Feb 2022 08:34:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B3882BC0D1; Wed, 2 Feb 2022 08:34:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4072E2BC0D1 for ; Wed, 2 Feb 2022 08:34:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 300B3343279 for ; Wed, 2 Feb 2022 08:34:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FA922CB for ; Wed, 2 Feb 2022 08:34:27 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1643789468.8985a4789c638fbe6f19ff98f3a48b4f4ef8d009.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: / X-VCS-Repository: repo/proj/guru X-VCS-Files: CONTRIBUTING.md X-VCS-Directories: / X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 8985a4789c638fbe6f19ff98f3a48b4f4ef8d009 X-VCS-Branch: dev Date: Wed, 2 Feb 2022 08:34: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: 04db1690-3fe4-46c9-97b0-931a6cf1f69c X-Archives-Hash: c276b14f9531847a9576af9df3f4b01f commit: 8985a4789c638fbe6f19ff98f3a48b4f4ef8d009 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Feb 2 07:40:16 2022 +0000 Commit: Anna Vyalkova sysrq in> 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.