summaryrefslogtreecommitdiff
path: root/tests/drv_hangman.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-10-21 12:55:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-10-21 12:56:16 +0100
commitc2fb6b80c951ba45012560e0a6e43aa7e169cb2f (patch)
treeb387eade136505139955f33e1d71b9215a86b166 /tests/drv_hangman.c
parent6939e0cbff3cfed4c2afd9ac6936cabeeb022e1a (diff)
igt/drv_hangman: Skip format expectations for compressed output
References: https://bugs.freedesktop.org/show_bug.cgi?id=98361 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/drv_hangman.c')
-rw-r--r--tests/drv_hangman.c3
1 files changed, 3 insertions, 0 deletions
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]);