]> granicus.if.org Git - libvpx/commitdiff
Print correct info if CLPF unit tests fail.
authorSteinar Midtskogen <stemidts@cisco.com>
Fri, 9 Sep 2016 15:30:21 +0000 (17:30 +0200)
committerYaowu Xu <yaowu@google.com>
Mon, 10 Oct 2016 22:21:06 +0000 (15:21 -0700)
Change-Id: Ieac27194f342d8ef9ef98c96ebea9d0c444658cf

test/clpf_test.cc

index 608a8ca9f4e3c0adf082f7a6fcc0e2b309ad0fc0..74a41a8b9e4cc42b4bac3569580dfb2ce1240a78 100644 (file)
@@ -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 << " ("