public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev]  controlling src_test
@ 2007-10-04  1:50 Ryan Hill
  2007-10-04  6:51 ` Ravi Pinjala
  2007-10-04 23:14 ` [gentoo-dev] " Marius Mauch
  0 siblings, 2 replies; 14+ messages in thread
From: Ryan Hill @ 2007-10-04  1:50 UTC (permalink / raw
  To: gentoo-dev

There are several packages in portage (and even in base-system) that fail
in src_test when userpriv/usersandbox is enabled or disabled.  That is, some
testsuites fail when run as root and some fail if not run as root.

I'd like a simple consistent way to mark or handle these packages without
disabling tests altogether (RESTRICT=test).  As mentioned recently, checking
${FEATURES} in an ebuild is frowned upon, and it doesn't seem right to handle
this on a per-ebuild basis.  How would something like this best be implemented?
A split up RESTRICT (test_userpriv/test_nouserpriv)?  test.eclass? Something
else?  Looking at the bigger picture, are there any other situations where
finer-grained control over the test system would be helpful?

While I'm on the subject, I also thought it would be cool to have the option to
not die on a src_test failure, but instead to dump the log file and continue
on to the install phase.  I know this can be done per-ebuild, but it'd be
a useful global option.


-- 
                  fonts / wxWindows / gcc-porting / treecleaners
  9B81 6C9F E791 83BB 3AB3  5B2D E625 A073 8379 37E8 (0x837937E8)

-- 
gentoo-dev@gentoo.org mailing list



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

end of thread, other threads:[~2007-10-05  1:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04  1:50 [gentoo-dev] controlling src_test Ryan Hill
2007-10-04  6:51 ` Ravi Pinjala
2007-10-04 13:36   ` Doug Goldstein
2007-10-04 14:36     ` Thomas Anderson
2007-10-04 14:51   ` Rémi Cardona
2007-10-04 17:39     ` [gentoo-dev] " Ryan Hill
2007-10-04 19:47       ` Ryan Hill
2007-10-04 21:10         ` Chris Gianelloni
2007-10-04 21:18         ` Rémi Cardona
2007-10-05  1:34         ` Ryan Hill
2007-10-04 20:31       ` Alin Năstac
2007-10-04 21:16         ` Ryan Hill
2007-10-04 23:14 ` [gentoo-dev] " Marius Mauch
2007-10-04 23:32   ` Bo Ørsted Andresen

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