From: Konstantinos Margaritis Date: Wed, 21 Sep 2022 13:05:13 +0000 (+0000) Subject: reduce number of iterations in test, as it takes too long X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09180d411b1a6490d94845b43bea0e22cb7e9c38;p=openpower-isa.git reduce number of iterations in test, as it takes too long --- diff --git a/media/video/libvpx/variance_test.cc b/media/video/libvpx/variance_test.cc index 2ea74a7b..12fdf162 100644 --- a/media/video/libvpx/variance_test.cc +++ b/media/video/libvpx/variance_test.cc @@ -184,7 +184,7 @@ class SumOfSquaresTest : public ::testing::TestWithParam { void SumOfSquaresTest::ConstTest() { int16_t mem[256]; unsigned int res; - for (int v = 0; v < 20; ++v) { + for (int v = 0; v < 5; ++v) { for (int i = 0; i < 256; ++i) { mem[i] = v; } @@ -195,7 +195,7 @@ void SumOfSquaresTest::ConstTest() { void SumOfSquaresTest::RefTest() { int16_t mem[256]; - for (int i = 0; i < 20; ++i) { + for (int i = 0; i < 5; ++i) { for (int j = 0; j < 256; ++j) { mem[j] = rnd_.Rand8() - rnd_.Rand8(); }