Explorar el Código

tests/datawizard/in_place_partition.c: shutdown before quitting

Nathalie Furmento hace 13 años
padre
commit
fdee30e387
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      tests/datawizard/in_place_partition.c

+ 5 - 1
tests/datawizard/in_place_partition.c

@@ -36,7 +36,11 @@ int main(int argc, char **argv)
 #endif
 
 	n = starpu_worker_get_count();
-	if (n == 1) return STARPU_TEST_SKIPPED;
+	if (n == 1)
+	{
+		starpu_shutdown();
+		return STARPU_TEST_SKIPPED;
+	}
 
 	size = 10 * n;