mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
igt: Prettify igt_assert_eq() failure messages
This just improves the language about the exact failure to reduce confusion. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
+1
-1
@@ -468,7 +468,7 @@ static bool read_one_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out)
|
||||
bytes_read = read(pipe_crc->crc_fd, &buf, pipe_crc->line_len);
|
||||
igt_set_timeout(0);
|
||||
|
||||
igt_assert_cmpint(bytes_read, ==, pipe_crc->line_len);
|
||||
igt_assert_eq(bytes_read, pipe_crc->line_len);
|
||||
buf[bytes_read] = '\0';
|
||||
|
||||
if (!pipe_crc_init_from_string(out, buf))
|
||||
|
||||
Reference in New Issue
Block a user