public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas K. Huettel" <dilfridge@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Robin H. Johnson" <robbat2@gentoo.org>
Subject: Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default
Date: Fri, 02 Feb 2024 00:07:35 +0100	[thread overview]
Message-ID: <6361033.DvuYhMxLoT@noumea> (raw)
In-Reply-To: <robbat2-20240201T075952-136355609Z@orbis-terrarum.net>

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

Am Donnerstag, 1. Februar 2024, 09:15:39 CET schrieb Robin H. Johnson:
> TL;DR:
> I'd like to propose a change where packages should NOT install their
> tests to ${D} by default. Such an install may optionally enabled with
> USE=test, which should be decoupled from FEATURES=test. Or depending on
> the color of the bikeshed, we add something new like USE=install-tests.

I see where you come from, but the decision what precisely to install
(when we do not follow upstream) can be very non-trivial.

I'm not familiar with Python, but for Perl there is quite some test
infrastructure in the main Perl package... Then there are regular
Perl packages that are extensions to the test suite. These would require
the test modules from core Perl then? I really wouldnt want to figure 
out what to keep and what to drop, and spend a lot of effort getting
the dependencies right.

Also this is an infinite source of upstream "It's Gentoo, we don't
support that because they do weird stuff" bugs.

tl;dr: no



-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2024-02-01 23:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01  8:15 [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default Robin H. Johnson
2024-02-01 19:44 ` Mike Gilbert
2024-02-01 21:03 ` Michał Górny
2024-02-01 21:38   ` Eli Schwartz
2024-02-01 21:52     ` Mike Gilbert
2024-02-01 22:06       ` Eli Schwartz
2024-02-01 23:07 ` Andreas K. Huettel [this message]

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=6361033.DvuYhMxLoT@noumea \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=robbat2@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