From b20e0776237cb0d2f0a426ca749bc0f8a6e275ba Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Sat, 21 Oct 2023 16:58:39 +0200 Subject: [PATCH] iox-#2044 Remove obsolete code --- iceoryx_dust/test/moduletests/test_dust_modules.cpp | 7 ------- iceoryx_hoofs/test/moduletests/test_hoofs_modules.cpp | 7 ------- 2 files changed, 14 deletions(-) diff --git a/iceoryx_dust/test/moduletests/test_dust_modules.cpp b/iceoryx_dust/test/moduletests/test_dust_modules.cpp index dbabebf672d..1091df15b90 100644 --- a/iceoryx_dust/test/moduletests/test_dust_modules.cpp +++ b/iceoryx_dust/test/moduletests/test_dust_modules.cpp @@ -22,18 +22,11 @@ using namespace ::testing; using ::testing::_; -// global argc and argv needed by the argv_inspection test -int g_argc; -char** g_argv; - int main(int argc, char* argv[]) { ::testing::InitGoogleTest(&argc, argv); iox::testing::TestingLogger::init(); - g_argc = argc; - g_argv = argv; - return RUN_ALL_TESTS(); } diff --git a/iceoryx_hoofs/test/moduletests/test_hoofs_modules.cpp b/iceoryx_hoofs/test/moduletests/test_hoofs_modules.cpp index e02d6a19780..79d6142262a 100644 --- a/iceoryx_hoofs/test/moduletests/test_hoofs_modules.cpp +++ b/iceoryx_hoofs/test/moduletests/test_hoofs_modules.cpp @@ -24,10 +24,6 @@ using namespace ::testing; using ::testing::_; -// global argc and argv needed by the argv_inspection test -int g_argc; -char** g_argv; - int main(int argc, char* argv[]) { ::testing::InitGoogleTest(&argc, argv); @@ -37,8 +33,5 @@ int main(int argc, char* argv[]) iox::testing::ErrorHandler handler; iox::er::ErrorHandler::set(handler); - g_argc = argc; - g_argv = argv; - return RUN_ALL_TESTS(); }