Use xenia-base entrypoint for test suites.

Use xenia-base entrypoint for test suites. Fixes a bug where we were expecting
wchar data in main, which is incorrect, causing invalid args to be parsed.
This commit is contained in:
gibbed
2020-11-25 18:44:24 -06:00
committed by Rick Gibbed
parent 30b9719ee3
commit 6ab665f6e2
2 changed files with 23 additions and 29 deletions

View File

@@ -26,8 +26,12 @@ local function combined_test_suite(test_suite_name, project_root, base_path, con
}))
links(merge_arrays(config["links"], {
}))
defines({
"XE_TEST_SUITE_NAME=\""..test_suite_name.."\"",
})
files({
project_root.."/"..build_tools_src.."/test_suite_main.cc",
project_root.."/src/xenia/base/main_"..platform_suffix..".cc",
base_path.."/**_test.cc",
})
end