public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Handling optional, expensive variants of test suite
@ 2024-08-09 15:40 Sam James
  2024-08-09 15:47 ` Pacho Ramos
  2024-08-16  5:05 ` Joonas Niilola
  0 siblings, 2 replies; 4+ messages in thread
From: Sam James @ 2024-08-09 15:40 UTC (permalink / raw
  To: gentoo-dev

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

Hi!

Some packages like libffi, gcc support extended, slower versions of
their testsuites. In the past, I've seen both USE="expensive-tests" (I
think) and USE="test-full" (used in a few places in-tree atm) for this.

I sort of hate both suggestions but I'm open to what people think is
best, with a view to then making it a global USE flag then? Thoughts?

Note that I _do_ think there's value in exposing these because some of
the configurations I use, and I know others are deploying Gentoo for,
are where they want to make use of as many opportunities as possible
to find bad runtime behaviour (kernel and toolchain patching).

thanks,
sam

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] Handling optional, expensive variants of test suite
  2024-08-09 15:40 [gentoo-dev] Handling optional, expensive variants of test suite Sam James
@ 2024-08-09 15:47 ` Pacho Ramos
  2024-08-16  5:05 ` Joonas Niilola
  1 sibling, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2024-08-09 15:47 UTC (permalink / raw
  To: gentoo-dev

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

El vie, 09-08-2024 a las 16:40 +0100, Sam James escribió:
> Hi!
> 
> Some packages like libffi, gcc support extended, slower versions of
> their testsuites. In the past, I've seen both USE="expensive-tests"
> (I
> think) and USE="test-full" (used in a few places in-tree atm) for
> this.
> 
> I sort of hate both suggestions but I'm open to what people think is
> best, with a view to then making it a global USE flag then? Thoughts?
> 
> Note that I _do_ think there's value in exposing these because some
> of
> the configurations I use, and I know others are deploying Gentoo for,
> are where they want to make use of as many opportunities as possible
> to find bad runtime behaviour (kernel and toolchain patching).
> 
> thanks,
> sam

Hi!

I would opt for "test-full" as it looks for descriptive to me.
"expensive" will have different meanings (expensive in memory, CPU,
disk usage?) that are also likely to change in the future (for example,
needing 4Gb of RAM to run is probably less "expensive" now than ten
years ago).

In any case, if you prefer other terms, no problem.

Regards

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] Handling optional, expensive variants of test suite
  2024-08-09 15:40 [gentoo-dev] Handling optional, expensive variants of test suite Sam James
  2024-08-09 15:47 ` Pacho Ramos
@ 2024-08-16  5:05 ` Joonas Niilola
  2024-08-16 15:40   ` Andrey Grozin
  1 sibling, 1 reply; 4+ messages in thread
From: Joonas Niilola @ 2024-08-16  5:05 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 591 bytes --]

Hey,

On 9.8.2024 18.40, Sam James wrote:
> Hi!
> 
> Some packages like libffi, gcc support extended, slower versions of
> their testsuites. In the past, I've seen both USE="expensive-tests" (I
> think) and USE="test-full" (used in a few places in-tree atm) for this.
> 
> I sort of hate both suggestions but I'm open to what people think is
> best, with a view to then making it a global USE flag then? Thoughts?
> 

Count NSS in that list too! I've made a patch locally that uses
"tests-full" use flag, so I guess I'd vote for "test-full" to stay
consistent.

-- juippis

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] Handling optional, expensive variants of test suite
  2024-08-16  5:05 ` Joonas Niilola
@ 2024-08-16 15:40   ` Andrey Grozin
  0 siblings, 0 replies; 4+ messages in thread
From: Andrey Grozin @ 2024-08-16 15:40 UTC (permalink / raw
  To: gentoo-dev

On Fri, 16 Aug 2024, Joonas Niilola wrote:
> On 9.8.2024 18.40, Sam James wrote:
>> Some packages like libffi, gcc support extended, slower versions of
>> their testsuites. In the past, I've seen both USE="expensive-tests" (I
>> think) and USE="test-full" (used in a few places in-tree atm) for this.
>>
>> I sort of hate both suggestions but I'm open to what people think is
>> best, with a view to then making it a global USE flag then? Thoughts?
> Count NSS in that list too! I've made a patch locally that uses
> "tests-full" use flag, so I guess I'd vote for "test-full" to stay
> consistent.
Some tests of sympy take very long. They were commented out in the ebuild. 
I'd like to have an easy way to run all tests.

Andrey


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-16 15:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 15:40 [gentoo-dev] Handling optional, expensive variants of test suite Sam James
2024-08-09 15:47 ` Pacho Ramos
2024-08-16  5:05 ` Joonas Niilola
2024-08-16 15:40   ` Andrey Grozin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox