Support launching integration test window in yaze_test.cc
This commit is contained in:
@@ -21,11 +21,10 @@ int main(int argc, char* argv[]) {
|
||||
absl::FailureSignalHandlerOptions options;
|
||||
absl::InstallFailureSignalHandler(options);
|
||||
|
||||
// Support the ability to launch an integration test window.
|
||||
SDL_SetMainReady();
|
||||
|
||||
// Check if the argument says `integration`
|
||||
if (argc > 1 && std::string(argv[1]) == "integration") {
|
||||
// Support the ability to launch an integration test window.
|
||||
SDL_SetMainReady();
|
||||
yaze_test::integration::TestEditor test_editor;
|
||||
yaze::app::core::Controller controller;
|
||||
controller.init_test_editor(&test_editor);
|
||||
|
||||
Reference in New Issue
Block a user