summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/x64EmitterTest.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus+github@selfnet.de>2015-05-18 09:46:30 +0200
committerMarkus Wick <markus+github@selfnet.de>2015-05-18 09:46:30 +0200
commit0711f6a89c1a4f3cbdf21091745cd96107ba81b8 (patch)
treefc81d9042178777fb319e267d68498bd6be20979 /Source/UnitTests/Common/x64EmitterTest.cpp
parent7e6ec5fa869a9d62699639f6775ccccbd52b3c2a (diff)
parente4e1fe5a9c00e8e5865287cd79aa74a6c62b41a8 (diff)
Merge pull request #2416 from yerejm/master
Reset faked CPU extension support at test end to ensure test isolation.
Diffstat (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp')
-rw-r--r--Source/UnitTests/Common/x64EmitterTest.cpp5
1 files changed, 5 insertions, 0 deletions
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;