소스 검색

examples/matvecmult/matvecmult.c: mark test as skipped if starpu_task_submit() returns ENODEV

Nathalie Furmento 13 년 전
부모
커밋
8209e5ea8d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/matvecmult/matvecmult.c

+ 1 - 1
examples/matvecmult/matvecmult.c

@@ -224,5 +224,5 @@ int main(int argc, char **argv)
 #endif
         starpu_shutdown();
 
-	return 0;
+	return (submit == -ENODEV) ? 77 : 0;
 }