Subrata Modak wrote:
> Thanks Crhis for sharing this test program with LTP. I find some problem
> in compiling it on i386, ppc64, etc. Please see below:
> 
> # gcc fairtest.cc 
> /tmp/cc6GXqFS.o(.eh_frame+0x11): undefined reference to
> `__gxx_personality_v0'
> collect2: ld returned 1 exit status

It currently needs to be compiled with g++.  It doesn't actually use 
much in the way of C++, but in some ways it's a more lenient compiler 
than gcc, and I was feeling lazy when I wrote it.  If plain C (or C99) 
is a requirement, it could be cleaned up.

> Also, i would like to get your help in completely automating this for
> better integration inside LTP. If the test program requires to get it´s
> input from a config file, can this be provided through a host of command
> line options ? Such as: in a scenario, when i can actually evaluate, say
> N different behaviour of the same test with various combinations of
> arguments through command line. I am saying this as we normally do not
> take arguments from any file for all our automated tests.

It would certainly be possible, but the whole config parsing routine 
would need to be rewritten to allow for commandline-based config 
information.  I'm curious...what's the issue with reading config files 
to control testcases?

Also, for LTP I assume we would need some sort of pass/fail criteria? 
If so, who would decide what constitutes acceptable latency/fairness? 
I've chosen some values that I think are reasonable, but there should 
probably be some discussion before any official inclusion.

Chris

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to