diff options
| author | yerejm <github@thelostyerejm.com> | 2015-05-17 11:48:05 +1000 |
|---|---|---|
| committer | yerejm <github@thelostyerejm.com> | 2015-05-17 11:48:05 +1000 |
| commit | e4e1fe5a9c00e8e5865287cd79aa74a6c62b41a8 (patch) | |
| tree | fc81d9042178777fb319e267d68498bd6be20979 /Source/UnitTests/Common/x64EmitterTest.cpp | |
| parent | 7e6ec5fa869a9d62699639f6775ccccbd52b3c2a (diff) | |
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.cpp | 5 |
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; |
