Bug 13662 - Linux Test Project
Bug#: 13662 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dragonheart@gentoo.org Reported By: j.prins@gmx.net
Component: Unspecified
URL: 
Summary: Linux Test Project
Keywords:  
Status Whiteboard: 
Opened: 2003-01-10 14:54 0000
Description:   Opened: 2003-01-10 14:54 0000
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.

------- Comment #1 From Marien Zwart (RETIRED) 2004-11-06 03:35:07 0000 -------
Created an attachment (id=43396) [details]
attempt at ebuild

------- Comment #2 From Marien Zwart (RETIRED) 2004-11-06 03:35:35 0000 -------
Created an attachment (id=43397) [details]
make sure the make is non-interactive

------- Comment #3 From Marien Zwart (RETIRED) 2004-11-06 03:36:05 0000 -------
Created an attachment (id=43398) [details]
path fix for the run script

------- Comment #4 From Marien Zwart (RETIRED) 2004-11-06 03:43:37 0000 -------
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.

------- Comment #5 From Daniel Black 2004-11-06 15:35:18 0000 -------
Marien,

good one. added