Browse Source

gcc-plugin/tests/task-errors.c: comment out test as it is no longer valid

Nathalie Furmento 12 years ago
parent
commit
c11d5fe150
1 changed files with 11 additions and 8 deletions
  1. 11 8
      gcc-plugin/tests/task-errors.c

+ 11 - 8
gcc-plugin/tests/task-errors.c

@@ -58,14 +58,17 @@ void my_task_that_invokes_task (int x, char *y)
 void my_task_that_invokes_task_cpu (int x, char *y)
   __attribute__ ((task_implementation ("cpu", my_task_that_invokes_task)));
 
-/* XXX: The assumption behind this test is that STARPU_USE_GORDON is not
-   defined.  */
-void my_task_with_no_usable_implementation (int x) /* (error "none of the implementations") */
-  __attribute__ ((task));
-
-static void my_task_with_no_usable_implementation_gordon (int x)
-  __attribute__ ((task_implementation ("gordon",
-				       my_task_with_no_usable_implementation)));
+//FIXME: gordon no longer being a valid target, it cannot longer be
+// used to test that a task without any valid implementation leads to
+// an error
+///* XXX: The assumption behind this test is that STARPU_USE_GORDON is not
+//   defined.  */
+//void my_task_with_no_usable_implementation (int x) /* error "none of the implementations") */
+//  __attribute__ ((task));
+//
+//static void my_task_with_no_usable_implementation_gordon (int x)
+//  __attribute__ ((task_implementation ("gordon",
+//				       my_task_with_no_usable_implementation)));
 
 /* XXX: In practice this test fails for large values of `STARPU_NMAXBUFS'.  */
 void my_task_with_too_many_pointer_params (/* (error "maximum .* exceeded") */