Hi, when surfing the web i came along this link: http://ltp.sourceforge.net/ It's a project aimed at developing tools for testing software. While i didn't gave it more than a brief look-over, i can imagine that an ebuild of it could be prove to be usefull.
Created attachment 43396 [details] attempt at ebuild
Created attachment 43397 [details, diff] make sure the make is non-interactive
Created attachment 43398 [details, diff] path fix for the run script
Ok, this ebuild with the two patches seems to build and the tests start. I haven't verified if everything works as intended though, as I'm not all that interested in this project and it would take quite a bit of time. Issues that should be handled: - ltp really wants to be run from the source dir. I tried to pick only the relevant stuff from that dir and install that, but I might have missed something. - the run script assumes you are "in" the source dir. There is an option to set a path, but it checks if the current path is correct and dies if it isn't before handling options :). So I patched that. Currently unhandled issues: - the "ltpmenu" script seems to make similar assumptions about the directory layout. Those are not fixed yet, I simply leave the script out. - the build process seems to look for "rpm" a few times. It seems to work without it, so I ignored this, but it might cause some of the tests to fail. I might revisit this later, but someone with more interest in this project might be able to improve on this.
Marien, good one. added