From: Owen Shepherd Date: Thu, 27 Dec 2012 21:38:54 +0000 (+0000) Subject: qsort: Regression test now ignores 4th test on Mac OS X in addition to BSDs (test... X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=b36ed6ba21f0b450515b7134488c23d6f3fcdd96 qsort: Regression test now ignores 4th test on Mac OS X in addition to BSDs (test causes hang) --- diff --git a/functions/stdlib/qsort.c b/functions/stdlib/qsort.c index 3e349fb..51edf4b 100644 --- a/functions/stdlib/qsort.c +++ b/functions/stdlib/qsort.c @@ -154,7 +154,7 @@ int main( void ) strcpy( s, presort ); qsort( s, 1, 1, compare ); TESTCASE( strcmp( s, presort ) == 0 ); -#if __BSD_VISIBLE +#if defined(REGTEST) && (__BSD_VISIBLE || __APPLE__) puts( "qsort.c: Skipping test #4 for BSD as it goes into endless loop here." ); #else qsort( s, 100, 0, compare );