Re: [gentoo-dev] Handling installed tests

2024-08-18 Thread Joonas Niilola
Hey, On 18.8.2024 22.06, Sam James wrote: > > Thoughts on prefix/suffix? > > "test-install", "test-install-files" are more in-keeping with USE=test, > USE=test-full, etc, but maybe that's *bad* because it's not related > at all to what the ebuild does, so we should do install-* like you've > sug

Re: [gentoo-dev] Handling installed tests

2024-08-18 Thread Sam James
Joonas Niilola writes: > Hey, > > On 9.8.2024 18.43, Sam James wrote: >> >> I'd like to pick some name which is suitable for us to use elsewhere and >> it's not really a package-specific issue. Thoughts? >> > > the first simple thought that came to my mind: "install-tests" or > "install-test-fi

Re: [gentoo-dev] Handling installed tests

2024-08-15 Thread Joonas Niilola
Hey, On 9.8.2024 18.43, Sam James wrote: > > I'd like to pick some name which is suitable for us to use elsewhere and > it's not really a package-specific issue. Thoughts? > the first simple thought that came to my mind: "install-tests" or "install-test-files". Both are available and should be

Re: [gentoo-dev] Handling installed tests

2024-08-09 Thread Michał Górny
On Fri, 2024-08-09 at 16:43 +0100, Sam James wrote: > Hi, > > I'm currently working on packaging dtrace which doesn't (at least > currently, may not ever) support running tests as non-root, but > does support handling installing them for later manual use. > > This raises a question: how should we

Re: [gentoo-dev] Handling installed tests

2024-08-09 Thread Eli Schwartz
On 8/9/24 11:59 AM, Maciej Barć wrote: > Hi Sam, > > We have a "source" flag so maybe we could either use that or have > "test-source" BUT we also have FEATURES="installsources" ...so (if I > understand that feature correctly) we can just run test from > /usr/src/debug/${CATEGORY}/${PF} > > But I

Re: [gentoo-dev] Handling installed tests

2024-08-09 Thread Maciej Barć
Hi Sam, We have a "source" flag so maybe we could either use that or have "test-source" BUT we also have FEATURES="installsources" ...so (if I understand that feature correctly) we can just run test from /usr/src/debug/${CATEGORY}/${PF} But IMO I'd rather clone the project and run test from

Re: [gentoo-dev] Handling installed tests

2024-08-09 Thread Eli Schwartz
On 8/9/24 11:43 AM, Sam James wrote: > Hi, > > I'm currently working on packaging dtrace which doesn't (at least > currently, may not ever) support running tests as non-root, but > does support handling installing them for later manual use. > > This raises a question: how should we control instal

[gentoo-dev] Handling installed tests

2024-08-09 Thread Sam James
Hi, I'm currently working on packaging dtrace which doesn't (at least currently, may not ever) support running tests as non-root, but does support handling installing them for later manual use. This raises a question: how should we control installing such tests? How should the user request that?