Browse Source

backport 7329 from trunk 'tests/sched_policies/data_locality.c: add message on error'

Nathalie Furmento 13 years ago
parent
commit
9e98cefe11
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/sched_policies/data_locality.c

+ 1 - 0
tests/sched_policies/data_locality.c

@@ -122,6 +122,7 @@ run(struct starpu_sched_policy *policy)
 	{
 		if (tasks[i]->profiling_info->workerid != workerid)
 		{
+			FPRINTF(stderr, "Error for task %d. Worker id %u different from expected worker id %u\n", i, tasks[i]->profiling_info->workerid, workerid);
 			ret = 1;
 			break;
 		}