Gentoo Archives: gentoo-user

From: Anton <anton.stay.connected@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Strategies for testing an ebuild
Date: Wed, 21 Oct 2020 19:33:21
Message-Id: 1edd6f9a-8a08-923d-f58a-391e7eff3bc6@gmail.com
In Reply to: Re: [gentoo-user] Strategies for testing an ebuild by tastytea
1 On 10/20/2020 7:23 PM, tastytea wrote:
2 > On 2020-10-20 11:01-0700 Anton <anton.stay.connected@×××××.com> wrote:
3 >
4 >> Hi there,
5 >>
6 >> I am taking on maintaining a package in gentoo-sci overlay. What are
7 >> good ways to test that my ebuild works before creating a pull request?
8 >>
9 >> I am thinking to install a Gentoo Prefix, snapshot its "vanilla"
10 >> state, and run `emerge $mypackage` in the vanilla Prefix as a test.
11 >> Are there better strategies?
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 Thanks, tastytea, this is very helpful.