diff options
-rw-r--r-- | tests/gem_exec_nop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gem_exec_nop.c b/tests/gem_exec_nop.c index 533082a0c2f2..6907c2bf9127 100644 --- a/tests/gem_exec_nop.c +++ b/tests/gem_exec_nop.c @@ -187,7 +187,9 @@ static void all(int fd, uint32_t handle, int timeout) * is frozen. So in general we cannot go faster than the slowest * engine, but we should equally not go any slower. */ - igt_assert(time < max + min); /* ensure parallel execution */ + igt_assert_f(time < max + 10*min/9, /* ensure parallel execution */ + "Average time (%.3fus) exceeds expecation for parallel execution (min %.3fus, max %3.fus; limit set at %.3fus)\n", + time, min, max, max + 10*min/9); } igt_main |