From e4e1fe5a9c00e8e5865287cd79aa74a6c62b41a8 Mon Sep 17 00:00:00 2001 From: yerejm Date: Sun, 17 May 2015 11:48:05 +1000 Subject: [PATCH] Reset faked CPU extension support at test end to ensure test isolation. --- Source/UnitTests/Common/x64EmitterTest.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index 1f7d08f114..8f9ee2f547 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -101,6 +101,11 @@ protected: disasm->set_syntax_intel(); } + void TearDown() override + { + cpu_info = CPUInfo(); + } + void ExpectDisassembly(const std::string& expected) { std::string disasmed;