diff options
Diffstat (limited to 'bin/auto_compile')
-rwxr-xr-x | bin/auto_compile | 66 |
1 files changed, 26 insertions, 40 deletions
diff --git a/bin/auto_compile b/bin/auto_compile index 7fa07f0e947..2351d26abe5 100755 --- a/bin/auto_compile +++ b/bin/auto_compile @@ -57,19 +57,9 @@ $MODULE='ACE_wrappers'; 'TAO/tests/Param_Test , run_test.pl', 'TAO/tests/Param_Test , run_test.pl -i dii', 'TAO/performance-tests/Cubit/TAO/IDL_Cubit , run_test.pl', - 'TAO/tests/OctetSeq , run_test.pl', - 'TAO/tests/Multiple_Inheritance , run_test.pl', - 'TAO/tests/MT_Client , run_test.pl', - 'TAO/tests/MT_Server , run_test.pl', - 'TAO/tests/Faults , run_test.pl', - 'TAO/tests/NestedUpcall/Simple , run_test.pl', - 'TAO/tests/NestedUpcall/MT_Client_Test , run_test.pl', - 'TAO/tests/NestedUpcall/Triangle_Test , run_test.pl', - 'TAO/tests/POA/Identity , run_test.pl', - 'TAO/tests/POA/Deactivation , run_test.pl', - 'TAO/tests/POA/Destruction , run_test.pl', - 'TAO/tests/IORManipulation , run_test.pl', - 'TAO/tests/Timeout , run_test.pl', + 'TAO/orbsvcs/tests/Event/Basic , run_test.pl', + 'TAO/orbsvcs/tests/Event/Performance , run_test.pl', + 'TAO/orbsvcs/tests/Simple_Naming , run_test.pl', 'TAO/examples/POA/Adapter_Activator , run_test.pl', 'TAO/examples/POA/DSI , run_test.pl', 'TAO/examples/POA/Default_Servant , run_test.pl', @@ -82,33 +72,23 @@ $MODULE='ACE_wrappers'; 'TAO/examples/POA/Reference_Counted_Servant , run_test.pl', 'TAO/examples/POA/Loader , run_test.pl', 'TAO/examples/POA/RootPOA , run_test.pl', + 'TAO/examples/POA/Identity , run_test.pl', 'TAO/examples/POA/Adapter_Activator , run_test.pl', - 'TAO/examples/Simple/bank , run_test.pl', - 'TAO/examples/Simple/grid , run_test.pl', - 'TAO/examples/Simple/time-date , run_test.pl', - 'TAO/examples/Simple/time , run_test.pl', - 'TAO/orbsvcs/tests/Simple_Naming , run_test.pl', - 'TAO/orbsvcs/tests/Trading , run_test.pl', - 'TAO/orbsvcs/tests/Event/Basic , run_test.pl', - 'TAO/orbsvcs/tests/Event/Performance , run_test.pl', - 'TAO/orbsvcs/tests/EC_Basic , run_test.pl', - 'TAO/orbsvcs/tests/EC_Custom_Marshal , run_test.pl', - 'TAO/orbsvcs/tests/EC_Throughput , run_test.pl', -# 'TAO/orbsvcs/tests/EC_Mcast , run_test.pl', -# 'TAO/orbsvcs/tests/EC_Multiple , run_test.pl', - 'TAO/orbsvcs/tests/Event_Latency , run_test.pl', - 'TAO/examples/Simple/echo , run_test.pl < Echo.idl', -# 'TAO/examples/Simple/chat , run_test.pl', - 'TAO/orbsvcs/tests/Property , run_test.pl', - 'TAO/performance-tests/POA/Object_Creation_And_Registration , run_test.pl', - 'TAO/performance-tests/Cubit/TAO/MT_Cubit , run_test.pl -n 100' + 'TAO/tests/MT_Client , run_test.pl', + 'TAO/tests/MT_Server , run_test.pl', + 'TAO/tests/OctetSeq , run_test.pl', + 'TAO/tests/Multiple_Inheritance , run_test.pl', + 'TAO/tests/NestedUpcall/Reactor , run_test.pl', + 'TAO/performance-tests/Cubit/TAO/MT_Cubit , run_test.pl -n 100', + 'TAO/performance-tests/POA/Object_Creation_And_Registration , run_test.pl' # 'TAO/orbsvcs/tests/ImplRepo , run_test.pl airplane', # 'TAO/orbsvcs/tests/ImplRepo , run_test.pl airplane_ir', +# 'TAO/orbsvcs/tests/Property , run_test.pl' ); # We obtain our revision to report errors. -$REVISION='$Revision$ '; +$REVISION='$Revision$'; # Find out the command name. $CMD = basename($0); @@ -134,7 +114,7 @@ sub mywarn { print MAIL $CMD, ' [', $REVISION, "] for $BUILD on $CHECKOUT\n"; print MAIL "\n"; local $m; - foreach $m (@msg) { + foreach $m (@msg) { print MAIL $m, "\n"; } print MAIL "\nPlease check log files for more info\n"; @@ -231,7 +211,8 @@ $ENV{'ACE_ROOT'} = $CHECKOUT . '/' . $MODULE . '/build/' . $BUILD; $ENV{'TAO_ROOT'} = $CHECKOUT . '/' . $MODULE . '/build/' . $BUILD . '/TAO'; @failures = (); -$MAKEFLAGS .= ""; +@warnings = (); +$MAKEFLAGS .= " shared_libs_only=1"; foreach $i (@BUILD_LIST) { $date = localtime; print LOG "$CMD: =============================================\n"; @@ -241,6 +222,7 @@ foreach $i (@BUILD_LIST) { local $current_dir = $i; local $last_error = ""; + local $last_warning = ""; while (<MAKE>) { print LOG $_; chop; @@ -256,9 +238,9 @@ foreach $i (@BUILD_LIST) { } } if (m/Warning:/ || m/warning:/) { - if ($last_error ne $current_dir) { - push @failures, "Warning while compiling in $current_dir\n"; - $last_error = $current_dir; + if ($last_warning ne $current_dir) { + push @warnings, "Warning while compiling in $current_dir\n"; + $last_warning = $current_dir; } } } @@ -290,7 +272,7 @@ foreach $i (@RUN_LIST) { } while (<RUN>) { print LOG $_; - if (m/Error/ || m/FAILED/ || m/EXCEPTION/) { + if (m/^Error/ || m/FAILED/ || m/EXCEPTION/) { $run_error = 1; } } @@ -302,7 +284,7 @@ foreach $i (@RUN_LIST) { print LOG "$CMD: $program finished ", $date, "\n"; if ($run_error != 0) { - push @failures, + push @failures, "errors detected while running $program in $directory"; } } @@ -311,6 +293,10 @@ if ($#failures >= 0) { mydie @failures; } +if ($#warnings >= 0) { + mywarn @warnings; +} + close(LOG) || mydie "cannot close LOGFILE"; |