Przeglądaj źródła

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

Nathalie Furmento 13 lat temu
rodzic
commit
8209e5ea8d
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 }