From 18d323606daba1c6fdbb1dd2ff922f11647c9753 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Fri, 12 Dec 2014 06:18:56 -0800 Subject: [PATCH] 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 --- test/convolve_test.cc | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.40.0