From: caremoli Date: Tue, 8 Jan 2008 13:06:04 +0000 (+0000) Subject: CCAR: update from dev branch X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=777973fd3e6e4b3cd2927277baaf7db5767d6a74;p=modules%2Fkernel.git CCAR: update from dev branch --- diff --git a/configure.ac b/configure.ac index 6254567d5..cc389e952 100644 --- a/configure.ac +++ b/configure.ac @@ -250,7 +250,6 @@ echo CHECK_LIBXML - fi # --- end test corba # ---------------------------------------------------------------------------- @@ -426,7 +425,7 @@ summary $basic_mandatory_products check_fatal_error $basic_mandatory_products echo -corba_mandatory_products="omniORB_ok boost_ok" +corba_mandatory_products="omniORB_ok boost_ok libxml_ok" if test x$corba_gen = xtrue; then echo --- CORBA mandatory products - default configuration: summary $corba_mandatory_products diff --git a/src/LifeCycleCORBA/TestContainerManager.cxx b/src/LifeCycleCORBA/TestContainerManager.cxx index 9313aace7..b908e90f8 100644 --- a/src/LifeCycleCORBA/TestContainerManager.cxx +++ b/src/LifeCycleCORBA/TestContainerManager.cxx @@ -49,6 +49,7 @@ int main (int argc, char * argv[]) Engines::Component_ptr compo; bool error = false; bool bestImplemented; + int status; // Initializing omniORB ORB_INIT &init = *SINGLETON_::Instance() ; @@ -147,17 +148,19 @@ int main (int argc, char * argv[]) } } } - if( ((cmax-cmin) <= 1) && (fmax == 10/nbpmax) && !error ){ - string msg; + string msg; + if( ((cmax-cmin) <= 2) && (fmax == 10/nbpmax) && !error ){ if(bestImplemented) msg = "TEST OK"; else msg = "TEST OK but FindBest not implemented!"; - MESSAGE(msg); - return 0; + status=0; } else{ - MESSAGE("TEST KO"); - return 1; + msg ="TEST KO"; + status=1; } + cout << msg << endl; + + return status; }