Browse Source

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

Nathalie Furmento 13 years ago
parent
commit
8209e5ea8d
1 changed files with 1 additions and 1 deletions
  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;
 }