On 29 Dec 2002 [EMAIL PROTECTED] wrote:
> wrowe 2002/12/29 14:45:12 > > Modified: test testatomic.c > Log: > No pthread_setconcurrency here on Darwin. > > Revision Changes Path > 1.22 +1 -1 apr/test/testatomic.c > > Index: testatomic.c > =================================================================== > RCS file: /home/cvs/apr/test/testatomic.c,v > retrieving revision 1.21 > retrieving revision 1.22 > diff -u -r1.21 -r1.22 > --- testatomic.c 6 Dec 2002 17:19:17 -0000 1.21 > +++ testatomic.c 29 Dec 2002 22:45:12 -0000 1.22 > @@ -265,7 +265,7 @@ > } > > printf("APR Atomic Test\n===============\n\n"); > -#if !(defined WIN32) && !(defined NETWARE) && !(defined __MVS__) > +#if !(defined WIN32) && !(defined NETWARE) && !(defined __MVS__) && > !(defined DARWIN) > pthread_setconcurrency(8); > #endif > printf("%-60s", "Initializing the context"); This highlights another problem with our test suite. We can't have platform checks in our tests. Having these checks completely invalidates the usefulness of APR. These kinds of checks are the biggest reason that I haven't migrated testatomic to the new suite. I haven't had the time to figure out exactly what is going on yet. Ryan