ref: 18d323606daba1c6fdbb1dd2ff922f11647c9753
parent: 3425d6c83e331945de906716c8ebdaa4cc47263a
author: Jim Bankoski <jimbankoski@google.com>
date: Fri Dec 12 01:18:56 EST 2014
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
--- a/test/convolve_test.cc
+++ b/test/convolve_test.cc
@@ -10,6 +10,7 @@
#include <string.h>
#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"
@@ -314,6 +315,8 @@
vpx_memalign(kDataAlignment, (kOutputBufferSize) * sizeof(uint16_t)));
#endif
}
+
+ virtual void TearDown() { libvpx_test::ClearSystemState(); }
static void TearDownTestCase() {
vpx_free(input_ - 1);
--
⑨