Explorar el Código

tests: use STARPU_TEST_SKIPPED instead of hard-coded value 77

Nathalie Furmento hace 13 años
padre
commit
efb9cbf614
Se han modificado 56 ficheros con 57 adiciones y 59 borrados
  1. 1 1
      tests/core/declare_deps_after_submission_synchronous.c
  2. 1 1
      tests/core/declare_deps_in_callback.c
  3. 1 1
      tests/core/empty_task.c
  4. 1 1
      tests/core/empty_task_chain.c
  5. 1 1
      tests/core/execute_on_a_specific_worker.c
  6. 1 1
      tests/core/get_current_task.c
  7. 1 1
      tests/core/insert_task.c
  8. 1 3
      tests/core/regenerate.c
  9. 1 1
      tests/core/starpu_task_wait.c
  10. 1 1
      tests/core/starpu_task_wait_for_all.c
  11. 1 1
      tests/core/static_restartable.c
  12. 1 1
      tests/core/static_restartable_tag.c
  13. 1 1
      tests/core/static_restartable_using_initializer.c
  14. 1 1
      tests/core/subgraph_repeat.c
  15. 1 1
      tests/core/subgraph_repeat_regenerate.c
  16. 1 1
      tests/core/task_wait_api.c
  17. 1 1
      tests/core/wait_all_regenerable_tasks.c
  18. 1 1
      tests/datawizard/acquire_cb_insert.c
  19. 1 1
      tests/datawizard/acquire_release.c
  20. 1 1
      tests/datawizard/acquire_release2.c
  21. 2 2
      tests/datawizard/copy.c
  22. 1 1
      tests/datawizard/critical_section_with_void_interface.c
  23. 1 1
      tests/datawizard/data_implicit_deps.c
  24. 1 1
      tests/datawizard/data_invalidation.c
  25. 1 1
      tests/datawizard/data_lookup.c
  26. 1 1
      tests/datawizard/dining_philosophers.c
  27. 1 1
      tests/datawizard/double_parameter.c
  28. 1 1
      tests/datawizard/dsm_stress.c
  29. 1 1
      tests/datawizard/increment_redux.c
  30. 1 1
      tests/datawizard/increment_redux_v2.c
  31. 1 1
      tests/datawizard/manual_reduction.c
  32. 1 1
      tests/datawizard/readers_and_writers.c
  33. 1 1
      tests/datawizard/reclaim.c
  34. 1 1
      tests/datawizard/scratch.c
  35. 1 1
      tests/datawizard/sync_and_notify_data.c
  36. 1 1
      tests/datawizard/sync_and_notify_data_implicit.c
  37. 1 1
      tests/datawizard/sync_with_data_with_mem.c
  38. 1 1
      tests/datawizard/sync_with_data_with_mem_non_blocking.c
  39. 1 1
      tests/datawizard/sync_with_data_with_mem_non_blocking_implicit.c
  40. 1 1
      tests/datawizard/unpartition.c
  41. 1 1
      tests/datawizard/write_only_tmp_buffer.c
  42. 1 1
      tests/errorcheck/invalid_blocking_calls.c
  43. 1 1
      tests/errorcheck/invalid_tasks.c
  44. 1 1
      tests/helper/starpu_create_sync_task.c
  45. 1 1
      tests/microbenchs/async_tasks_overhead.c
  46. 1 1
      tests/microbenchs/prefetch_data_on_node.c
  47. 1 1
      tests/microbenchs/redundant_buffer.c
  48. 1 1
      tests/microbenchs/sync_tasks_overhead.c
  49. 1 1
      tests/microbenchs/tasks_overhead.c
  50. 1 1
      tests/opt/datawizard/wt_broadcast.c
  51. 1 1
      tests/opt/datawizard/wt_host.c
  52. 1 1
      tests/overlap/overlap.c
  53. 1 1
      tests/parallel_tasks/explicit_combined_worker.c
  54. 1 1
      tests/parallel_tasks/parallel_kernels.c
  55. 1 1
      tests/parallel_tasks/parallel_kernels_spmd.c
  56. 1 1
      tests/parallel_tasks/spmd_pgreedy.c

+ 1 - 1
tests/core/declare_deps_after_submission_synchronous.c

@@ -95,5 +95,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/declare_deps_in_callback.c

@@ -96,5 +96,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED
 }

+ 1 - 1
tests/core/empty_task.c

@@ -95,5 +95,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/empty_task_chain.c

@@ -63,5 +63,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/execute_on_a_specific_worker.c

@@ -141,5 +141,5 @@ enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/get_current_task.c

@@ -110,5 +110,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/insert_task.c

@@ -116,5 +116,5 @@ enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 3
tests/core/regenerate.c

@@ -125,6 +125,4 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
-}
-
+	return STARPU_TEST_SKIPPED;

+ 1 - 1
tests/core/starpu_task_wait.c

@@ -118,5 +118,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/starpu_task_wait_for_all.c

@@ -152,5 +152,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/static_restartable.c

@@ -102,5 +102,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/static_restartable_tag.c

@@ -106,5 +106,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/static_restartable_using_initializer.c

@@ -100,5 +100,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/subgraph_repeat.c

@@ -145,5 +145,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/subgraph_repeat_regenerate.c

@@ -150,6 +150,6 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }
 

+ 1 - 1
tests/core/task_wait_api.c

@@ -128,5 +128,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/core/wait_all_regenerable_tasks.c

@@ -128,5 +128,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/acquire_cb_insert.c

@@ -125,5 +125,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/acquire_release.c

@@ -101,5 +101,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/acquire_release2.c

@@ -101,5 +101,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 2 - 2
tests/datawizard/copy.c

@@ -55,7 +55,7 @@ int main(int argc, char **argv)
 	{
 		FPRINTF(stderr, "This application requires a CUDA or OpenCL Worker\n");
 		starpu_shutdown();
-		return 77;
+		return STARPU_TEST_SKIPPED;
 	}
 
         foo = 0.0f;
@@ -101,5 +101,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/critical_section_with_void_interface.c

@@ -83,5 +83,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/data_implicit_deps.c

@@ -151,5 +151,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/data_invalidation.c

@@ -144,5 +144,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/data_lookup.c

@@ -237,5 +237,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/dining_philosophers.c

@@ -104,5 +104,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/double_parameter.c

@@ -78,5 +78,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/dsm_stress.c

@@ -147,5 +147,5 @@ enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/increment_redux.c

@@ -242,5 +242,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/increment_redux_v2.c

@@ -241,5 +241,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/manual_reduction.c

@@ -230,5 +230,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/readers_and_writers.c

@@ -76,5 +76,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/reclaim.c

@@ -133,5 +133,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/scratch.c

@@ -116,5 +116,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	fprintf(stderr, "WARNING: No one can execute this task\n");
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/sync_and_notify_data.c

@@ -200,5 +200,5 @@ enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/sync_and_notify_data_implicit.c

@@ -197,5 +197,5 @@ enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/sync_with_data_with_mem.c

@@ -118,5 +118,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/sync_with_data_with_mem_non_blocking.c

@@ -150,5 +150,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/sync_with_data_with_mem_non_blocking_implicit.c

@@ -149,5 +149,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/unpartition.c

@@ -121,5 +121,5 @@ enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/datawizard/write_only_tmp_buffer.c

@@ -135,5 +135,5 @@ enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/errorcheck/invalid_blocking_calls.c

@@ -107,5 +107,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
 	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/errorcheck/invalid_tasks.c

@@ -66,6 +66,6 @@ int main(int argc, char **argv)
 	return EXIT_SUCCESS;
 #else
 	fprintf(stderr,"WARNING: Can not test this without CPUs\n");
-	return 77;
+	return STARPU_TEST_SKIPPED;
 #endif
 }

+ 1 - 1
tests/helper/starpu_create_sync_task.c

@@ -91,5 +91,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/microbenchs/async_tasks_overhead.c

@@ -208,5 +208,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/microbenchs/prefetch_data_on_node.c

@@ -148,5 +148,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/microbenchs/redundant_buffer.c

@@ -94,5 +94,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/microbenchs/sync_tasks_overhead.c

@@ -144,5 +144,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/microbenchs/tasks_overhead.c

@@ -214,5 +214,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/opt/datawizard/wt_broadcast.c

@@ -132,5 +132,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/opt/datawizard/wt_host.c

@@ -131,5 +131,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/overlap/overlap.c

@@ -133,5 +133,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/parallel_tasks/explicit_combined_worker.c

@@ -109,5 +109,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/parallel_tasks/parallel_kernels.c

@@ -112,5 +112,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/parallel_tasks/parallel_kernels_spmd.c

@@ -113,5 +113,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }

+ 1 - 1
tests/parallel_tasks/spmd_pgreedy.c

@@ -98,5 +98,5 @@ enodev:
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();
-	return 77;
+	return STARPU_TEST_SKIPPED;
 }