public inbox for gentoo-proxy-maint@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Denoncin <ddenoncin@gmail.com>
To: gentoo-proxy-maint@lists.gentoo.org
Subject: [gentoo-proxy-maint] Testing environment
Date: Fri, 22 May 2020 08:17:10 +0200	[thread overview]
Message-ID: <20200522061710.GA6290@captain-america> (raw)

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

Dear all,

I would like to understand how to set up an acceptable testing environment for amd64 packages as per
https://wiki.gentoo.org/wiki/Package_testing

and would like to go the chroot way. Is the following setup acceptable
to test an ebuild for pkg-cat/pkg-name ?

1- download stage3, unpack it in /mnt/gentoo
2- chroot in /mnt/gentoo 
3- emerge --sync, select stable profile default/linux/amd64/17.1
4- update the @world set 
5- add to make.conf the variables from https://wiki.gentoo.org/wiki/Package_testing (with multilib-strict added to FEATURES)
6- emerge portage with the gentoo_dev use flag 
7- emerge pkg-cat/pkg-name (ebuild test)
8- runtime test the package if needed

I'm happy to amend the above checklist however appropriate and
contribute to the wikipage related to chroot.

Thanks in advance,
Best regards,
David Denoncin.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

             reply	other threads:[~2020-05-22  6:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22  6:17 David Denoncin [this message]
2020-05-22 13:17 ` [gentoo-proxy-maint] Testing environment Joonas Niilola
2020-05-22 14:42   ` David Denoncin
2020-06-06  8:00     ` Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200522061710.GA6290@captain-america \
    --to=ddenoncin@gmail.com \
    --cc=gentoo-proxy-maint@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox