test: Fix eval_diff() so that it provides useful error values.
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 7 Mar 2010 16:24:30 +0000 (11:24 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 11 Oct 2010 16:06:20 +0000 (12:06 -0400)
commit55e4065cbbc5ffe2ce1986b51ef63e8a0b50fccb
treeedca40160460354aba286d2b8ebfee51a90abbc3
parentfe411cf2ac4d5b26a319b906dee87e0cc69d2ad6
test: Fix eval_diff() so that it provides useful error values.

Previously, this function would evaluate the error under the
assumption that the format was 565 or wider. This patch changes it to
take the actual format into account.

With that fixed, we can turn on testing for the rest of the formats.

Cc: chris@chris-wilson.co.uk
test/composite.c