pkgdev tatt will try to set USE=test for a package which confuses things. There shouldn't be a need for it.
With emerge --with-test-deps foo, test dependencies will be pulled in (so no need for USE=test for that). For FEATURES=test emerge foo, USE=test is automatically enabled if tests are not restricted).
Forcing USE=test breaks where tests are restricted but building tests fails for some other reason which has gone unnoticed because of that restriction, and it is unlikely that any developers will be interested in this. To silence reports about this, developers would have to p.use.mask the test USE flag for a package as well, but this also confuses emerge --with-test-deps!
One example recently is https://bugs.gentoo.org/967274.
TL;DR: We shouldn't ever set USE=test in pkgdev tatt.
pkgdev tattwill try to setUSE=testfor a package which confuses things. There shouldn't be a need for it.With
emerge --with-test-deps foo, test dependencies will be pulled in (so no need forUSE=testfor that). ForFEATURES=test emerge foo,USE=testis automatically enabled if tests are not restricted).Forcing
USE=testbreaks where tests are restricted but building tests fails for some other reason which has gone unnoticed because of that restriction, and it is unlikely that any developers will be interested in this. To silence reports about this, developers would have to p.use.mask thetestUSE flag for a package as well, but this also confusesemerge --with-test-deps!One example recently is https://bugs.gentoo.org/967274.
TL;DR: We shouldn't ever set
USE=testinpkgdev tatt.