Browse Source

tests/main/multithreaded.c: add error message

Nathalie Furmento 11 years ago
parent
commit
daaa65f811
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/main/multithreaded.c

+ 1 - 1
tests/main/multithreaded.c

@@ -61,7 +61,7 @@ void *thread_func(void *arg STARPU_ATTRIBUTE_UNUSED)
 		task->callback_arg = NULL;
 
 		ret = starpu_task_submit(task);
-		STARPU_ASSERT(!ret);
+		STARPU_ASSERT_MSG(!ret, "task submission failed with error code %d", ret);
 	}
 
 	ret = starpu_task_wait_for_all();