From: Jim Bankoski Date: Fri, 12 Dec 2014 14:18:56 +0000 (-0800) Subject: Fix test to call clear system state in convolve_test. X-Git-Tag: v1.4.0~378 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18d323606daba1c6fdbb1dd2ff922f11647c9753;p=libvpx Fix test to call clear system state in convolve_test. Assembly tests should clear system state, as we have no expectation of proper system state in between test runs.. Change-Id: I0f591996c1f17ef2a5a8572a6b445f757223a144 --- diff --git a/test/convolve_test.cc b/test/convolve_test.cc index 5dd73dbcb..e30ccf92e 100644 --- a/test/convolve_test.cc +++ b/test/convolve_test.cc @@ -10,6 +10,7 @@ #include #include "test/acm_random.h" +#include "test/clear_system_state.h" #include "test/register_state_check.h" #include "test/util.h" #include "third_party/googletest/src/include/gtest/gtest.h" @@ -315,6 +316,8 @@ class ConvolveTest : public ::testing::TestWithParam { #endif } + virtual void TearDown() { libvpx_test::ClearSystemState(); } + static void TearDownTestCase() { vpx_free(input_ - 1); input_ = NULL;