Browse Source

examples/reductions/minmax_reduction.c: mark test as skipped when no eligible worker is found

Nathalie Furmento 13 years ago
parent
commit
2c405bdc80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/reductions/minmax_reduction.c

+ 1 - 1
examples/reductions/minmax_reduction.c

@@ -174,7 +174,7 @@ int main(int argc, char **argv)
 		{
 		{
 			STARPU_ASSERT(ret == -ENODEV);
 			STARPU_ASSERT(ret == -ENODEV);
 			FPRINTF(stderr, "This test can only run on CPUs, but there are no CPU workers (this is not a bug).\n");
 			FPRINTF(stderr, "This test can only run on CPUs, but there are no CPU workers (this is not a bug).\n");
-			return 0;
+			return 77;
 		}
 		}
 	}
 	}