From: Steinar Midtskogen Date: Fri, 9 Sep 2016 15:30:21 +0000 (+0200) Subject: Print correct info if CLPF unit tests fail. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee54e5f3c537b5d6fe28a232bb18cbd4bb41cfde;p=libvpx Print correct info if CLPF unit tests fail. Change-Id: Ieac27194f342d8ef9ef98c96ebea9d0c444658cf --- diff --git a/test/clpf_test.cc b/test/clpf_test.cc index 608a8ca9f..74a41a8b9 100644 --- a/test/clpf_test.cc +++ b/test/clpf_test.cc @@ -139,6 +139,7 @@ void test_clpf(int w, int h, int depth, int iterations, } } + pos--; EXPECT_EQ(0, error) << "Error: ClpfBlockTest, SIMD and C mismatch." << std::endl << "First error at " << pos % size << "," << pos / size << " ("