diff options
author | jeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-04-28 22:27:22 +0000 |
---|---|---|
committer | jeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-04-28 22:27:22 +0000 |
commit | f2bb1a8e10d161a4220ef384d25fc31a64bca045 (patch) | |
tree | 43f88c55480bd39370d43b05107eca2640960fe4 /TAO/tests/ORB_Local_Config/Two_DLL_ORB | |
parent | 1cf9b058d345de1d8b6538c54d80e2c42ea5c77a (diff) | |
download | ATCD-f2bb1a8e10d161a4220ef384d25fc31a64bca045.tar.gz |
ChangeLogTag: Fri Apr 28 22:25:57 UTC 2006 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'TAO/tests/ORB_Local_Config/Two_DLL_ORB')
-rw-r--r-- | TAO/tests/ORB_Local_Config/Two_DLL_ORB/Test.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/TAO/tests/ORB_Local_Config/Two_DLL_ORB/Test.cpp b/TAO/tests/ORB_Local_Config/Two_DLL_ORB/Test.cpp index b7bb710efa9..371c8d944c3 100644 --- a/TAO/tests/ORB_Local_Config/Two_DLL_ORB/Test.cpp +++ b/TAO/tests/ORB_Local_Config/Two_DLL_ORB/Test.cpp @@ -1,5 +1,10 @@ // $Id$ +/// It's a test - we need ACE_ASSERT +#ifdef ACE_NDEBUG +# undef ACE_NDEBUG +#endif + #include "ace/ARGV.h" #include "ace/Thread_Manager.h" @@ -20,14 +25,13 @@ run_main (int , ACE_TCHAR *argv[]) && new_argv.add (ACE_TEXT ("-f")) != -1 && new_argv.add (file_Service_Config_ORB_Test ()) != -1); - ACE_ASSERT (ACE_Service_Config::instance() ->open (new_argv.argc (), + ACE_ASSERT (ACE_Service_Config::instance() ->open (new_argv.argc (), new_argv.argv ()) != -1 || errno == ENOENT); // Since the loaded services start their own threads, wait until all of them // are done to avoid pulling the rug under their feet. ACE_Thread_Manager::instance ()->wait (); - ACE_UNUSED_ARG (argv); return 0; } |