Should I say something or can you just look at the patch? :)
Created attachment 82615 [details, diff]
Wait, today I'm half asleep, if i use FEATURES=test on the wrong emerge it's not a good idea -_-
Just a sec that i fix this up, eh...
Created attachment 82621 [details, diff]
Ok I wasn't that stupid, the test was failing before, too, this should fix it.
Ah forgot to tell, of course the test works if an src_test() is added that uses emake -f makefile.shared.