瀏覽代碼

tests/main/multithreaded.c: add error message

Nathalie Furmento 12 年之前
父節點
當前提交
daaa65f811
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();