Summary: | dev-ruby/* - Please let src_test() fail nicely instead of requiring FEATURES=-test USE=-test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED OBSOLETE | ||
Severity: | major | CC: | dev-portage, mazoti, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeroen Roovers (RETIRED)
2012-01-14 08:10:52 UTC
I agree that this would be a useful thing to have. We could show a warning to indicate that tests were requested but could not be satisfied at this time. I don't think it's extremely easy, though, but perhaps I'm overlooking a possible solution? I can see how we could do this by marking known circular dependencies in known ebuilds, but I don't really see yet how we could make this more generic. Note that this also applies to USE=doc (see e.g. app-text/ronn and its dependencies). (In reply to comment #1) > I agree that this would be a useful thing to have. We could show a warning > to indicate that tests were requested but could not be satisfied at this > time. Yes. > I don't think it's extremely easy, though, but perhaps I'm overlooking a > possible solution? I can see how we could do this by marking known circular > dependencies in known ebuilds, but I don't really see yet how we could make > this more generic. CCing dev-portage@. > Note that this also applies to USE=doc (see e.g. app-text/ronn and its > dependencies). USE=doc is different, because it isn't enabled with FEATURES=test like USE=test is. Since USE=test requirements cause circular deps, stuff cannot be emerged where it counts, i.e. on arch testers/devs machines. Maybe some of the test suites can be split into separate ebuilds in order to break the cycles? Or portage could finally learn how to disable USE/FEATURES=test temporarily and then re-merge packages. (In reply to comment #4) > Or portage could finally learn how to disable USE/FEATURES=test temporarily > and then re-merge packages. Yeah, we could classify that as bug 175808. *** Bug 445170 has been marked as a duplicate of this bug. *** This is really resolved by --with-test-deps and isn't specific to Ruby. Python has this extensively, and Perl does too to an extent. |