Hi!

I've obviously meant to do the forking even for more than 8 contiguous
logical CPUs available, all the test needs is that all of 0, 1, 2, 3, 4, 5,
6, 7 logical CPUs are available and not disallowed by initial affinity mask.

2013-10-07  Jakub Jelinek  <ja...@redhat.com>

        * testsuite/libgomp.c/affinity-1.c (main): Fork even if
        contig_cpucount is > 8.

--- libgomp/testsuite/libgomp.c/affinity-1.c.jj 2013-10-07 09:31:53.000000000 
+0200
+++ libgomp/testsuite/libgomp.c/affinity-1.c    2013-10-07 14:09:52.475331358 
+0200
@@ -178,7 +178,7 @@ main ()
   int test_places = 0;
 
 #ifdef DO_FORK
-  if (env_places == NULL && contig_cpucount == 8 && test_false
+  if (env_places == NULL && contig_cpucount >= 8 && test_false
       && getenv ("GOMP_AFFINITY") == NULL)
     {
       int i, j, status;

        Jakub

Reply via email to