Browse Source

tests/datawizard/in_place_partition.c: shutdown before quitting

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