Re: [LTP] [PATCH] cgroups: conditionally enable building cgroup tests

Garrett Cooper
2009-07-07T14:41:17Z

On Mon, Jul 6, 2009 at 11:53 PM, Francesco RUNDO<francesco.rundo@st.com> wrote:
> Hi Garrett,
>
> thanks for your comment. Below, my consideration:
>
> Garrett Cooper wrote:
>
> On Mon, Jul 6, 2009 at 4:38 AM, Francesco RUNDO<francesco.rundo@st.com>
> wrote:
>
>
> Hi Gowri,
>
> I've already fixed the same issue you reported. I've tested it successfully.
>
> Subrata has already merged my patch (please, find it in attachment).
>
> Please, check it before to submit another patch.
>
>
> At the end of the day, the real problem is that we're not using the
> --with- functionality in autoconf, e.g. --with-cgroups, and instead
> we're hacking a lot of noise into Makefile's.
>
> Yes, you're right but your advice can't be applicable in the system in which
> autoconf is not supported/used to build LTP (a possible scenario in the
> embedded system).

Francisco,

Very soon cross-compilation will become a reality for LTP. We've been
using cross-compilation with LTP fairly thoroughly in-house, but the
solution's not even close to perfect. The one I'm working on now with
HEAD is a lot more holistic, and hence we should be able to do away
with manual compiles [of the source tree]. Manual submake compiles
will still be possible.

So, embedded systems can go back to executing code instead of
compiling it, like they should be... exercising *cc still is a good
workout for an embedded system's process [and threading] scheduler and
management system, but you can do it if you like and it'll no longer
be a hard requirement =].

Cheers,
-Garrett

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry