summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
diff options
context:
space:
mode:
authordbudko <dbudko@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-23 09:43:58 +0000
committerdbudko <dbudko@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-23 09:43:58 +0000
commit4b9f19466140e414ad47e5cb3b31dce12a6bc8e9 (patch)
treefee59540c7a80fe2ffeeb0e9fb8729d2f1814ef0 /TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
parent44694748d2a7e0dd282e7a0d14f03e19c7bfa065 (diff)
downloadATCD-4b9f19466140e414ad47e5cb3b31dce12a6bc8e9.tar.gz
Mon Nov 23 09:38:57 UTC 2009 Denis Budko <denis.budko@remedy.nl>
* orbsvcs/DevGuideExamples/InterfaceRepo/run_test.pl: * orbsvcs/DevGuideExamples/ImplRepo/Basic/MessengerServer.cpp: * orbsvcs/DevGuideExamples/ImplRepo/Basic/MessengerClient.cpp: * orbsvcs/DevGuideExamples/ImplRepo/Basic/run_test.pl: * orbsvcs/DevGuideExamples/ImplRepo/IORTable/MessengerServer.cpp: * orbsvcs/DevGuideExamples/ImplRepo/IORTable/run_test.pl: * orbsvcs/DevGuideExamples/ImplRepo/MessengerClient.cpp: * orbsvcs/DevGuideExamples/ImplRepo/Activator/run_test.pl: * orbsvcs/DevGuideExamples/ImplRepo/run_test.pl: * orbsvcs/tests/Miop/McastHello/run_test.pl: * orbsvcs/tests/Security/Callback/client.cpp: * orbsvcs/tests/CosEvent/Timeout/run_test.pl: * orbsvcs/tests/LoadBalancing/GenericFactory/Infrastructure_Controlled/LB_server.cpp: * orbsvcs/tests/LoadBalancing/GenericFactory/Infrastructure_Controlled/LB_server.h: * orbsvcs/tests/LoadBalancing/GenericFactory/Infrastructure_Controlled/run_test.pl: * orbsvcs/tests/LoadBalancing/GenericFactory/Application_Controlled/LB_server.cpp: * orbsvcs/tests/LoadBalancing/GenericFactory/Application_Controlled/LB_server.h: * orbsvcs/tests/LoadBalancing/GenericFactory/Application_Controlled/run_test.pl: * orbsvcs/tests/LoadBalancing/LoadMonitor/CPU/run_test.pl: * performance-tests/Protocols/run_test.pl: * tests/CollocationLockup/run_test.pl: * tests/Bug_1495_Regression/Threaded_Client.cpp: * tests/Bug_1495_Regression/run_test_complex.pl: * tests/Bug_1495_Regression/run_test.pl: * tests/Bug_1361_Regression/run_test.pl: * tests/COIOP/run_test.pl: * tests/Bug_3000_Regression/run_test.pl: * tests/Bug_2186_Regression/run_test.pl: * tests/AlternateIIOP/run_test.pl: * tests/NestedUpcall/Simple/run_test.pl: * tests/MT_BiDir/run_test.pl: * tests/MT_Client/run_test.pl: * tests/ForwardUponObjectNotExist/run_test.pl: * tests/No_Server_MT_Connect_Test/run_test.pl: * tests/Cache_Growth_Test/run_test.pl: * tests/Bug_1476_Test/run_test.pl: * bin/tao_other_tests.lst: * bin/tao_orb_tests.lst: * examples/Simple/time-date/run_test.pl: * examples/CSD_Strategy/ThreadPool/run_test.pl: * examples/CSD_Strategy/ThreadPool3/run_test.pl: * examples/RTCORBA/Activity/run_test.pl: * examples/AMH/Sink_Server/run_test.pl: Tests are converted to use new test framework and added to fuzz build.
Diffstat (limited to 'TAO/tests/Bug_1495_Regression/Threaded_Client.cpp')
-rw-r--r--TAO/tests/Bug_1495_Regression/Threaded_Client.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp b/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
index d2eeae21e73..890b424bed8 100644
--- a/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
+++ b/TAO/tests/Bug_1495_Regression/Threaded_Client.cpp
@@ -58,11 +58,6 @@ parse_args (int argc, ACE_TCHAR *argv[])
int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
- // Parse command line
- if (parse_args (argc, argv) == -1)
- {
- return -1;
- }
try
{
@@ -72,6 +67,11 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
CORBA::ORB_init (main_args_s.get_argc (),
main_args_s.get_TCHAR_argv (),
"Server_ORB");
+ // Parse command line
+ if (parse_args (argc, argv) == -1)
+ {
+ return -1;
+ }
ACE_Manual_Event me;