1 |
commit: 8985a4789c638fbe6f19ff98f3a48b4f4ef8d009 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed Feb 2 07:40:16 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Wed Feb 2 08:11:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8985a478 |
7 |
|
8 |
CONTRIBUTING.md: how to run tests |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
CONTRIBUTING.md | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md |
16 |
index c97918dca..108da9e93 100644 |
17 |
--- a/CONTRIBUTING.md |
18 |
+++ b/CONTRIBUTING.md |
19 |
@@ -24,6 +24,12 @@ In GURU we use ['thin manifests'](https://wiki.gentoo.org/wiki/Repository_format |
20 |
|
21 |
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. |
22 |
|
23 |
+- #### Run tests if you enable them |
24 |
+ |
25 |
+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: |
26 |
+ |
27 |
+`sudo env FEATURES=test USE=test ebuild foo-1.0.ebuild test` |
28 |
+ |
29 |
- #### No Symlinks in the repository |
30 |
|
31 |
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. |