浏览代码

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

Nathalie Furmento 12 年之前
父节点
当前提交
496acef0d9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      starpufft/examples/testx.c

+ 1 - 0
starpufft/examples/testx.c

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