From 1d758e2cd42fcd9213c3c863f46e4848bdb81559 Mon Sep 17 00:00:00 2001 From: scawful Date: Tue, 13 Aug 2024 20:54:33 -0400 Subject: [PATCH] Support launching integration test window in yaze_test.cc --- src/test/yaze_test.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/yaze_test.cc b/src/test/yaze_test.cc index e2fed0d1..f12965e7 100644 --- a/src/test/yaze_test.cc +++ b/src/test/yaze_test.cc @@ -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);