mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core: Assert that only the Host thread may call PauseAndLock().
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "Common/MsgHandler.h"
|
||||
#include "Core/Core.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
@ -24,6 +25,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
fmt::print(stderr, "Running main() from UnitTestsMain.cpp\n");
|
||||
Common::RegisterMsgAlertHandler(TestMsgHandler);
|
||||
Core::DeclareAsHostThread();
|
||||
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
|
Reference in New Issue
Block a user