int TestMain () { if(MinThread <= 0) MinThread = 1; if(MaxThread > 0) { RunParallelTests(); } return Harness::Done; }
int TestMain () { if (MaxThread > 0) { RunParallelTests(); } RunAssignmentAndCopyConstructorTests(); for(int i = 1 <= MinThread ? MinThread : 1; i <= MaxThread; ++i) { REMARK("Testing local() allocation with nthreads=%d\n", i); for(int j = 0; j < 100; ++j) { TestLocalAllocations(i); } } return Harness::Done; }