Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13662 - Linux Test Project
Summary: Linux Test Project
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-10 14:54 UTC by jochem prins
Modified: 2004-11-06 15:35 UTC (History)
3 users (show)

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


Attachments
attempt at ebuild (ltp-20041104.ebuild,986 bytes, text/plain)
2004-11-06 03:35 UTC, Marien Zwart (RETIRED)
Details
make sure the make is non-interactive (IDcheck-noninteractive.patch,729 bytes, patch)
2004-11-06 03:35 UTC, Marien Zwart (RETIRED)
Details | Diff
path fix for the run script (runltp-path.patch,387 bytes, patch)
2004-11-06 03:36 UTC, Marien Zwart (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jochem prins 2003-01-10 14:54:20 UTC
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 Marien Zwart (RETIRED) gentoo-dev 2004-11-06 03:35:07 UTC
Created attachment 43396 [details]
attempt at ebuild
Comment 2 Marien Zwart (RETIRED) gentoo-dev 2004-11-06 03:35:35 UTC
Created attachment 43397 [details, diff]
make sure the make is non-interactive
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2004-11-06 03:36:05 UTC
Created attachment 43398 [details, diff]
path fix for the run script
Comment 4 Marien Zwart (RETIRED) gentoo-dev 2004-11-06 03:43:37 UTC
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 Daniel Black (RETIRED) gentoo-dev 2004-11-06 15:35:18 UTC
Marien,

good one. added