From ed47d5662ba20139dd1bb6f48ee28196d7ef054e Mon Sep 17 00:00:00 2001 From: sahithinukala Date: Wed, 2 Sep 2026 12:03:54 +0530 Subject: [PATCH 1/2] Use non-deprecated InitializeRuntime in proxy_method tests --- score/mw/com/test/move_semantics/proxy_method/BUILD | 3 +++ .../mw/com/test/move_semantics/proxy_method/main_consumer.cpp | 3 ++- .../move_semantics/proxy_method/main_consumer_and_provider.cpp | 3 ++- .../mw/com/test/move_semantics/proxy_method/main_provider.cpp | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/score/mw/com/test/move_semantics/proxy_method/BUILD b/score/mw/com/test/move_semantics/proxy_method/BUILD index 72bb1e6cc2..2aca1cae71 100644 --- a/score/mw/com/test/move_semantics/proxy_method/BUILD +++ b/score/mw/com/test/move_semantics/proxy_method/BUILD @@ -89,6 +89,7 @@ cc_binary( "//score/mw/com/test/common_test_resources:assert_handler", "//score/mw/com/test/common_test_resources:fail_test", "//score/mw/com/test/common_test_resources:stop_token_sig_term_handler", + "@score_baselibs//score/string_manipulation/arguments", ], ) @@ -106,6 +107,7 @@ cc_binary( "//score/mw/com/test/common_test_resources:assert_handler", "//score/mw/com/test/common_test_resources:fail_test", "//score/mw/com/test/common_test_resources:stop_token_sig_term_handler", + "@score_baselibs//score/string_manipulation/arguments", ], ) @@ -124,6 +126,7 @@ cc_binary( "//score/mw/com/test/common_test_resources:assert_handler", "//score/mw/com/test/common_test_resources:fail_test", "//score/mw/com/test/common_test_resources:stop_token_sig_term_handler", + "@score_baselibs//score/string_manipulation/arguments", ], ) diff --git a/score/mw/com/test/move_semantics/proxy_method/main_consumer.cpp b/score/mw/com/test/move_semantics/proxy_method/main_consumer.cpp index c04b05de8a..e00c234313 100644 --- a/score/mw/com/test/move_semantics/proxy_method/main_consumer.cpp +++ b/score/mw/com/test/move_semantics/proxy_method/main_consumer.cpp @@ -16,13 +16,14 @@ #include "score/mw/com/test/common_test_resources/stop_token_sig_term_handler.h" #include "score/mw/com/test/move_semantics/proxy_method/consumer.h" #include "score/mw/com/test/move_semantics/proxy_method/test_parameters.h" +#include "score/string_manipulation/arguments/arguments.h" int main(int argc, const char** argv) { auto test_configuration{score::mw::com::test::ReadCommandLineArguments(argc, argv)}; score::mw::com::test::SetupAssertHandler(); - score::mw::com::runtime::InitializeRuntime(argc, argv); + score::mw::com::runtime::InitializeRuntime(score::string_manipulation::GetArguments(argc, argv)); score::cpp::stop_source stop_source{}; const bool sig_term_handler_setup_success = score::mw::com::SetupStopTokenSigTermHandler(stop_source); diff --git a/score/mw/com/test/move_semantics/proxy_method/main_consumer_and_provider.cpp b/score/mw/com/test/move_semantics/proxy_method/main_consumer_and_provider.cpp index b22bbd16fd..f496d62d23 100644 --- a/score/mw/com/test/move_semantics/proxy_method/main_consumer_and_provider.cpp +++ b/score/mw/com/test/move_semantics/proxy_method/main_consumer_and_provider.cpp @@ -17,6 +17,7 @@ #include "score/mw/com/test/move_semantics/proxy_method/consumer.h" #include "score/mw/com/test/move_semantics/proxy_method/provider.h" #include "score/mw/com/test/move_semantics/proxy_method/test_parameters.h" +#include "score/string_manipulation/arguments/arguments.h" #include @@ -25,7 +26,7 @@ int main(int argc, const char** argv) auto test_configuration{score::mw::com::test::ReadCommandLineArguments(argc, argv)}; score::mw::com::test::SetupAssertHandler(); - score::mw::com::runtime::InitializeRuntime(argc, argv); + score::mw::com::runtime::InitializeRuntime(score::string_manipulation::GetArguments(argc, argv)); score::cpp::stop_source stop_source{}; const bool sig_term_handler_setup_success = score::mw::com::SetupStopTokenSigTermHandler(stop_source); diff --git a/score/mw/com/test/move_semantics/proxy_method/main_provider.cpp b/score/mw/com/test/move_semantics/proxy_method/main_provider.cpp index b716512c13..f3812d0547 100644 --- a/score/mw/com/test/move_semantics/proxy_method/main_provider.cpp +++ b/score/mw/com/test/move_semantics/proxy_method/main_provider.cpp @@ -16,13 +16,14 @@ #include "score/mw/com/test/common_test_resources/stop_token_sig_term_handler.h" #include "score/mw/com/test/move_semantics/proxy_method/provider.h" #include "score/mw/com/test/move_semantics/proxy_method/test_parameters.h" +#include "score/string_manipulation/arguments/arguments.h" int main(int argc, const char** argv) { auto test_configuration{score::mw::com::test::ReadCommandLineArguments(argc, argv)}; score::mw::com::test::SetupAssertHandler(); - score::mw::com::runtime::InitializeRuntime(argc, argv); + score::mw::com::runtime::InitializeRuntime(score::string_manipulation::GetArguments(argc, argv)); score::cpp::stop_source stop_source{}; const bool sig_term_handler_setup_success = score::mw::com::SetupStopTokenSigTermHandler(stop_source); From 199e6f551c42d5e5483b7ac8bc5187e0f54e3d7b Mon Sep 17 00:00:00 2001 From: sahithinukala Date: Wed, 2 Sep 2026 12:03:54 +0530 Subject: [PATCH 2/2] Use non-deprecated InitializeRuntime in skeleton_method tests --- score/mw/com/test/move_semantics/skeleton_method/BUILD | 3 +++ .../com/test/move_semantics/skeleton_method/main_consumer.cpp | 3 ++- .../skeleton_method/main_consumer_and_provider.cpp | 3 ++- .../com/test/move_semantics/skeleton_method/main_provider.cpp | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/score/mw/com/test/move_semantics/skeleton_method/BUILD b/score/mw/com/test/move_semantics/skeleton_method/BUILD index 673266cf5a..03d999ad36 100644 --- a/score/mw/com/test/move_semantics/skeleton_method/BUILD +++ b/score/mw/com/test/move_semantics/skeleton_method/BUILD @@ -90,6 +90,7 @@ cc_binary( "//score/mw/com/test/common_test_resources:assert_handler", "//score/mw/com/test/common_test_resources:fail_test", "//score/mw/com/test/common_test_resources:stop_token_sig_term_handler", + "@score_baselibs//score/string_manipulation/arguments", ], ) @@ -107,6 +108,7 @@ cc_binary( "//score/mw/com/test/common_test_resources:assert_handler", "//score/mw/com/test/common_test_resources:fail_test", "//score/mw/com/test/common_test_resources:stop_token_sig_term_handler", + "@score_baselibs//score/string_manipulation/arguments", ], ) @@ -125,6 +127,7 @@ cc_binary( "//score/mw/com/test/common_test_resources:assert_handler", "//score/mw/com/test/common_test_resources:fail_test", "//score/mw/com/test/common_test_resources:stop_token_sig_term_handler", + "@score_baselibs//score/string_manipulation/arguments", ], ) diff --git a/score/mw/com/test/move_semantics/skeleton_method/main_consumer.cpp b/score/mw/com/test/move_semantics/skeleton_method/main_consumer.cpp index be3ba340b9..8dbc1f84c1 100644 --- a/score/mw/com/test/move_semantics/skeleton_method/main_consumer.cpp +++ b/score/mw/com/test/move_semantics/skeleton_method/main_consumer.cpp @@ -16,6 +16,7 @@ #include "score/mw/com/test/common_test_resources/stop_token_sig_term_handler.h" #include "score/mw/com/test/move_semantics/skeleton_method/consumer.h" #include "score/mw/com/test/move_semantics/skeleton_method/test_parameters.h" +#include "score/string_manipulation/arguments/arguments.h" #include @@ -24,7 +25,7 @@ int main(int argc, const char** argv) auto test_configuration{score::mw::com::test::ReadCommandLineArguments(argc, argv)}; score::mw::com::test::SetupAssertHandler(); - score::mw::com::runtime::InitializeRuntime(argc, argv); + score::mw::com::runtime::InitializeRuntime(score::string_manipulation::GetArguments(argc, argv)); score::cpp::stop_source stop_source{}; const bool sig_term_handler_setup_success = score::mw::com::SetupStopTokenSigTermHandler(stop_source); diff --git a/score/mw/com/test/move_semantics/skeleton_method/main_consumer_and_provider.cpp b/score/mw/com/test/move_semantics/skeleton_method/main_consumer_and_provider.cpp index c80cce73bc..c4734586d6 100644 --- a/score/mw/com/test/move_semantics/skeleton_method/main_consumer_and_provider.cpp +++ b/score/mw/com/test/move_semantics/skeleton_method/main_consumer_and_provider.cpp @@ -17,6 +17,7 @@ #include "score/mw/com/test/move_semantics/skeleton_method/consumer.h" #include "score/mw/com/test/move_semantics/skeleton_method/provider.h" #include "score/mw/com/test/move_semantics/skeleton_method/test_parameters.h" +#include "score/string_manipulation/arguments/arguments.h" #include #include @@ -26,7 +27,7 @@ int main(int argc, const char** argv) auto test_configuration{score::mw::com::test::ReadCommandLineArguments(argc, argv)}; score::mw::com::test::SetupAssertHandler(); - score::mw::com::runtime::InitializeRuntime(argc, argv); + score::mw::com::runtime::InitializeRuntime(score::string_manipulation::GetArguments(argc, argv)); score::cpp::stop_source stop_source{}; const bool sig_term_handler_setup_success = score::mw::com::SetupStopTokenSigTermHandler(stop_source); diff --git a/score/mw/com/test/move_semantics/skeleton_method/main_provider.cpp b/score/mw/com/test/move_semantics/skeleton_method/main_provider.cpp index a53b76f4b6..3af0170c15 100644 --- a/score/mw/com/test/move_semantics/skeleton_method/main_provider.cpp +++ b/score/mw/com/test/move_semantics/skeleton_method/main_provider.cpp @@ -16,6 +16,7 @@ #include "score/mw/com/test/common_test_resources/stop_token_sig_term_handler.h" #include "score/mw/com/test/move_semantics/skeleton_method/provider.h" #include "score/mw/com/test/move_semantics/skeleton_method/test_parameters.h" +#include "score/string_manipulation/arguments/arguments.h" #include @@ -24,7 +25,7 @@ int main(int argc, const char** argv) auto test_configuration{score::mw::com::test::ReadCommandLineArguments(argc, argv)}; score::mw::com::test::SetupAssertHandler(); - score::mw::com::runtime::InitializeRuntime(argc, argv); + score::mw::com::runtime::InitializeRuntime(score::string_manipulation::GetArguments(argc, argv)); score::cpp::stop_source stop_source{}; const bool sig_term_handler_setup_success = score::mw::com::SetupStopTokenSigTermHandler(stop_source);