Gentoo Archives: gentoo-user

From: tastytea <gentoo@××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Strategies for testing an ebuild
Date: Wed, 21 Oct 2020 02:23:17
Message-Id: 20201021042305.1d435a13@ventiloplattform.tastytea.de
In Reply to: [gentoo-user] Strategies for testing an ebuild by Anton
1 On 2020-10-20 11:01-0700 Anton <anton.stay.connected@×××××.com> wrote:
2
3 > Hi there,
4 >
5 > I am taking on maintaining a package in gentoo-sci overlay. What are
6 > good ways to test that my ebuild works before creating a pull request?
7 >
8 > I am thinking to install a Gentoo Prefix, snapshot its "vanilla"
9 > state, and run `emerge $mypackage` in the vanilla Prefix as a test.
10 > Are there better strategies?
11
12 There is a package to automate this, via docker:
13 dev-python/ebuildtester. For other methods, see
14 <https://wiki.gentoo.org/wiki/Test_environment>.
15
16 Kind regards, tastytea
17
18 --
19 Get my PGP key with `gpg --locate-keys tastytea@××××××××.de` or at
20 <https://tastytea.de/tastytea.asc>.

Replies

Subject Author
Re: [gentoo-user] Strategies for testing an ebuild Anton <anton.stay.connected@×××××.com>