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 the clone.
Of source the drawback of installsources & git cloning is that emerge
does not run any modifications on the tests nor applies patches to them
nor buildsystem/testrunner used.
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?
USE=test isn't suitable because:
a) I generally expect it not to mutate the image;
b) ago, rightly, based on this has a tinderbox check which looks for added/removed files when tests are enabled.
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?
Please assume the tests are large enough to justify conditional install
and have additional dependencies.
(This is arguably related to https://bugs.gentoo.org/867799 and so on
wrt dev-lang/python always installing tests.)
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?
USE=test isn't suitable because:
a) I generally expect it not to mutate the image;
b) ago, rightly, based on this has a tinderbox check which looks for added/removed files when tests are enabled.
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?
Please assume the tests are large enough to justify conditional install
and have additional dependencies.
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?
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 pretty self-explanatory.
-- juippis
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 suggested?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 150:13:51 |
Calls: | 9,699 |
Calls today: | 9 |
Files: | 13,732 |
Messages: | 6,178,917 |
Posted today: | 1 |