[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] aio testcases
From:       Subrata Modak <subrata () linux ! vnet ! ibm ! com>
Date:       2008-10-30 4:31:06
Message-ID: 1225340346.4958.15.camel () subratamodak ! linux ! ibm ! com
[Download RAW message or body]

Hi Daniel,

On Wed, 2008-10-29 at 23:53 +0100, Daniel Gollub wrote:
> On Friday 17 October 2008 10:26:12 Jacky Malcles wrote:
> > REASON:
> > now that fsx-linux is the same for fs, nfs and ios
> > (I'm working with ltp-full-20080831.tgz)
> > we have to adapt the runtest/ltp-aiodio.part3 file:
> > (-A and -Z options are no more supported by fsx-linux)
> 
> 
> # find -name fsx-linux.c | xargs md5sum
> 4017c6b34b291c3afb700c9afad53da7  ./testcases/kernel/fs/fsx-linux/fsx-linux.c
> 4017c6b34b291c3afb700c9afad53da7  ./testcases/kernel/io/ltp-aiodio/fsx-linux.c
> 4017c6b34b291c3afb700c9afad53da7  ./testcases/network/nfs/fsx-linux/fsx-linux.c
> 
> Indeed, what about moving fsx-linux.c to some location and kill the redundant 
> code?
> 
> There is also a situtation which might become very tricky once the version of 
> fsx-linux.c starts to differ:
> 
> testcases/kernel/fs/fsx-linux/Makefile 
> testcases/kernel/io/ltp-aiodio/Makefile
> 
> Both Makefiles have fsx-linux in there install target and point to the same 
> destination: $LTPROOT/bin.
> 
> Depending of the order the Makefiles get called, the later one will win, by 
> overwritting silently. This might become later a reproducing/debugging 
> nightmare - especially if you build with make -j, where i guess the order 
> could be really random on each build.
> 
> I could provide a patch for this, since this makes also my life easier for 
> packaging LTP inside the system-environment installation.
> 
> Whats the best location to move a commen test-source like fsx-linux.c inside 
> the ltp tree?
> 

I would prefer to retain it inside:
./testcases/kernel/fs/fsx-linux/fsx-linux.c,

and removing from the other 2 locations. Please send a patch in this
regard taking care of all make(s) issues.

Regards--
Subrata

> best regards,
> Daniel
> 
> -------------------------------------------------------------------------
> 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
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic