Browse Source

starpufft/examples/testx.c: mark test as skipped when no worker is found

Nathalie Furmento 12 years ago
parent
commit
496acef0d9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      starpufft/examples/testx.c

+ 1 - 0
starpufft/examples/testx.c

@@ -127,6 +127,7 @@ int main(int argc, char *argv[])
 #endif
 
 	ret = starpu_init(NULL);
+	if (ret == -ENODEV) return 77;
 	STARPU_CHECK_RETURN_VALUE(ret, "starpu_init");
 
 	if (argc == 1)