src_test() { nonfatal emake check || ewarn "tests failed" } This is just plain wrong. src_test() is *supposed to die* if tests fail. If you don't want Portage to die, use FEATURES=test-fail-continue.
g'luck with that. i'm not aware of the testsuite ever passing.