Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346549 - app-crypt/mit-krb5 - useless src_test() output
Summary: app-crypt/mit-krb5 - useless src_test() output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High QA
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 18:00 UTC by Jeroen Roovers (RETIRED)
Modified: 2010-11-24 16:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2010-11-23 18:00:52 UTC
src_test() {
    einfo "Tests do not run in sandbox, they need mit-krb5 to be already installed to test it."
}

I don't get this. I assume that, with the above output, it knows I initially had FEATURES=sandbox and that the same version wasn't yet installed. So I emerged it again with FEATURES=-sandbox, assuming the test suite would now be run. That's when I looked at the ebuild and found the above.

You could look at what other packages do, like imagemagick, to work around the install-before-test problem, and you could perhaps run the test suite regardless of FEATURES=sandbox and just warn that it might fail.
Comment 1 Eray Aslan gentoo-dev 2010-11-24 10:03:38 UTC
That work around predates me.  I'll see what I can do.  Thanks for the pointers.
Comment 2 Eray Aslan gentoo-dev 2010-11-24 16:49:25 UTC
+*mit-krb5-1.9_beta1 (24 Nov 2010)
+
+  24 Nov 2010; Eray Aslan <eras@gentoo.org> +mit-krb5-1.9_beta1.ebuild,
+  metadata.xml:
+  Version bump. Dropped m68k bug #324087. Working test suite bug #346549.
+  Added test and pkinit USE flags.
+

Will also add a working test suite to mit-krb5-1.8 branch if/when there is a bump (patch is ready).  Thanks again.