mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Merge pull request #12147 from Dentomologist/pagefaulttest_use_gtest_skip
PageFaultTest: Use GTEST_SKIP instead of early return
This commit is contained in:
commit
efa820763a
@ -68,10 +68,8 @@ static void ASAN_DISABLE perform_invalid_access(void* data)
|
||||
TEST(PageFault, PageFault)
|
||||
{
|
||||
if (!EMM::IsExceptionHandlerSupported())
|
||||
{
|
||||
// TODO: Use GTEST_SKIP() instead when GTest is updated to 1.10+
|
||||
return;
|
||||
}
|
||||
GTEST_SKIP() << "Skipping PageFault test because exception handler is unsupported.";
|
||||
|
||||
EMM::InstallExceptionHandler();
|
||||
void* data = Common::AllocateMemoryPages(PAGE_GRAN);
|
||||
EXPECT_NE(data, nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user