Browse Source

tests/sched_policies/execute_all_tasks.c: be even less strict when checking the length of the tasks.

Cyril Roelandt 13 years ago
parent
commit
e8323b3896
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/sched_policies/execute_all_tasks.c

+ 2 - 2
tests/sched_policies/execute_all_tasks.c

@@ -105,9 +105,9 @@ run(struct starpu_sched_policy *p)
 
 		pi = tasks[i]->profiling_info;
 		task_len = starpu_timing_timespec_delay_us(&pi->start_time, &pi->end_time);
-		if (fabs(task_len - 1e6) > 10000) /* That's 10ms, should be good. */
+		if (fabs(task_len - 1e6) > 100000) /* That's 0.1s, should be good. */
 		{
-			FPRINTF(stderr, "Failed with task length: %fµ\n", task_len);
+			FPRINTF(stderr, "Failed with task length: %fµs\n", task_len);
 			return 1;
 		}