Summary: | eclass/tests/tests-common.sh should inherit all eclasses | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Harald Weiner <timeraider> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | timeraider |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | eclass-tests-common.sh.patch |
Created attachment 468482 [details] eclass-tests-common.sh.patch Imagine myoverlay.eclass in an overlay with the following code: inherit myoverlay-utils java-utils-2 myoverlay_src_install() { myoverlay-utils_src_install java-pkg_jarinto "${MYOVERLAY_DEST}" # ... more stuff ... } Whenever a test script (that sources /usr/portage/eclass/tests/tests-common.sh) now wants to test src_install the result will be /usr/local/myoverlay/eclass/tests/..//myoverlay.eclass: line 55: java-pkg_jarinto: command not found Find a possible solution to this problem attached.