Garrett Cooper <[email protected]> wrote on 11/19/2009 11:54:02 PM:

> Mark,
>     An ideal solution to this problem is a two-tiered solution:
>     1. Feature based conditional compilation.
>     2. Tool based conditional compilation (some tests require certain
> tools, such as perl, python, and various Unix utilities that aren't a
> part of the minimal set of tools, e.g. useradd, userdel, etc).
>     The tool based condition compilation is somewhat simple at a 10k
> ft level (I have perl, python, ruby, etc -- add / remove these tests /
> features) -- the feature based conditional compilation issue is a bit
> more difficult to deal with as it requires a more in-depth
> understanding of what code exists in the sourcebase, and what
> functional tests map to what functional blocks under test. This is
> ideal, but not trivial to perform.
>     My first goal is to deal with any fallout from the make
> infrastructure commit(s), dealing with the make 3.80 incompatibility
> and other unforeseen usecases like you have with building and
> executing out of the same source tree. Next, I want to clean up any
> and all C warnings so the tests are more robust (Mike, Cyril, and I
> have done a pretty good job but there's a ways to go...). Then I'll
> undertake completing the ballista cleanup, which will also involve
> adding the shims for perl and python across the entire sourcebase.
> We'll need to revisit the feature based enabling a little later.
>     How does that sound?
> Thanks,
> -Garrett

Sounds good to me.  Definitely getting the conditional compilation
straightened out is priority one.  Right now we end up having to remove
testcases and modify makefiles just to get the test suite to build.

I guess I was thinking of the minimal test set for the cases when new
testcases were misbehaving rather than when they couldn't run because they
misjudged the environment.  But I agree the 2 scenarios probably overlap
95% of the time.


- Mark
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to