On Tue, 2008-11-18 at 09:53 +0100, Gilles.Carry wrote: > Hi Subrata, > > Subrata Modak a écrit : > >> It would be good to have ltp source branches matching kernel branches. > >> May be this already exists? > > > > No. this does not exist and it may spiral to become a maintenance > > nightmare. Hence autoconf is introduced to avoid/properly compiling such > > tests. > > Yes, that would be more maintenance as some patches have would have to > be applied onto several branches but that would also save a lot of time > for people running LTP on older kernels and have to sort out irrelevant > tests.
There is code inside LTP tests which solves this by checking #defines for varibales/kernel versions. So, depending on the support, the code compiles. If support is available then the actual test code compiles and run, else the TCONF error code gets compiled and run. We have solved this kernel features support across various LTP like this till now. Maintaining various LTP source branches according to the kernel version is not a problem. The fact is we do not get enough contribution in terms of new test cases for the latest kernels. If the contributions in terms of new test cases code for latest kernels are huge, i would be happy to do as you said. But sadly that is not :-( Regards-- Subrata > I don't think autoconf can solve this problem. > > Cheers, > Gilles. ------------------------------------------------------------------------- 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
