From c2fb6b80c951ba45012560e0a6e43aa7e169cb2f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 21 Oct 2016 12:55:09 +0100 Subject: igt/drv_hangman: Skip format expectations for compressed output References: https://bugs.freedesktop.org/show_bug.cgi?id=98361 Signed-off-by: Chris Wilson --- tests/drv_hangman.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/drv_hangman.c') diff --git a/tests/drv_hangman.c b/tests/drv_hangman.c index bfe5eaf6..f80d65d7 100644 --- a/tests/drv_hangman.c +++ b/tests/drv_hangman.c @@ -229,6 +229,9 @@ static void check_error_state(const int gen, for (i = 0; i < 1024; i++) { igt_assert(getline(&line, &line_size, file) > 0); + if (line[0] == ':' || line[0] == '~') + break; + snprintf(expected_line, sizeof(expected_line), "%08x : %08x", 4*i, batch[i]); -- cgit v1.2.3