UnitTests: Skip PageFaultTest if exception handlers are not supported

Page faults should only occur on architectures that support exception
handlers, so skip the test on other architectures to avoid spurious test
failures.
This commit is contained in:
Dentomologist
2022-05-19 12:17:46 -07:00
parent 62601663e5
commit 6ffd938f98
3 changed files with 28 additions and 0 deletions

View File

@ -7,4 +7,5 @@ namespace EMM
{
void InstallExceptionHandler();
void UninstallExceptionHandler();
bool IsExceptionHandlerSupported();
} // namespace EMM