[openbeos] Re: Test suite build issues

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 16 Sep 2002 03:41:18 CEST (+0200)

Ingo wrote:
> I think, it is usually desired to compile the tests with `-g'. And `-
> g' 
> sort of implies `-O0'. IIRC the BFS tests are the only ones 
> recompiling 
> production code into the tests, while all other tests just link 
> against 
> the compiled code being compiled with whatever options desired.
> 
> While I'm rethinking the whole debug/warnings/options anyway (I have 
> no 
> completely satifying solution yet though), I guess, it won't harm to 
> introduce a NO_TEST_DEBUG variable to turn off the current behavior 
> (i.e. that the test rules override DEBUG and OPTIM). Would that be 
> acceptable?

Yes, I actually think that this is the right way to go :-)
One shouldn't expect compiler bugs everywhere, and implementation bugs 
should be much more common, so we should probably focus on those...
It would be just nice to have an easy way of using the test suites with 
a specific optimization level.

Adios...
   Axel.



Other related posts: