"Dave Korn" <[EMAIL PROTECTED]> writes: > Ian Lance Taylor wrote on 07 August 2008 19:20: > >> If the test will run on most normal targets, then a better approach is >> to add something like >> >> #if defined(STACK_SIZE) && STACK_SIZE < 1000 >> exit (0); /* or "return 0" from main, as appropriate" >> #endif > > :) Actually, it's a compile test!
A compile test breaks because it uses a large stack? In that case, just comment out the bulk of the test based on STACK_SIZE. Ian