[UI] Loop thread to main thread WindowedAppContext
This commit is contained in:
@@ -31,7 +31,7 @@ local function combined_test_suite(test_suite_name, project_root, base_path, con
|
||||
})
|
||||
files({
|
||||
project_root.."/"..build_tools_src.."/test_suite_main.cc",
|
||||
project_root.."/src/xenia/base/main_"..platform_suffix..".cc",
|
||||
project_root.."/src/xenia/base/console_app_main_"..platform_suffix..".cc",
|
||||
base_path.."/**_test.cc",
|
||||
})
|
||||
filter("toolset:msc")
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "xenia/base/console_app_main.h"
|
||||
#include "xenia/base/cvar.h"
|
||||
#include "xenia/base/main.h"
|
||||
|
||||
#define CATCH_CONFIG_RUNNER
|
||||
#include "third_party/catch/single_include/catch2/catch.hpp"
|
||||
@@ -43,5 +43,5 @@ int test_suite_main(const std::vector<std::string>& args) {
|
||||
#error XE_TEST_SUITE_NAME is undefined!
|
||||
#endif
|
||||
|
||||
DEFINE_ENTRY_POINT_TRANSPARENT(XE_TEST_SUITE_NAME,
|
||||
xe::test_suite::test_suite_main);
|
||||
XE_DEFINE_CONSOLE_APP_TRANSPARENT(XE_TEST_SUITE_NAME,
|
||||
xe::test_suite::test_suite_main);
|
||||
|
||||
Reference in New Issue
Block a user