summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/FaultTolerance
diff options
context:
space:
mode:
authordbudko <dbudko@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-13 09:21:51 +0000
committerdbudko <dbudko@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-11-13 09:21:51 +0000
commit38ba87d6f08c5c43a2e6b9efbd6c890933eb5e1a (patch)
tree175329f71ad2787bc9ddda008980212ec73acf97 /TAO/orbsvcs/tests/FaultTolerance
parent2a4b1c0ce4c45aeca7ac97ae8981d57fc9541ce3 (diff)
downloadATCD-38ba87d6f08c5c43a2e6b9efbd6c890933eb5e1a.tar.gz
Fri Nov 13 09:18:57 UTC 2009 Denis Budko <denis.budko@remedy.nl>
* orbsvcs/tests/Bug_3486_Regression/run_test.pl: * orbsvcs/tests/FaultTolerance/IOGRManipulation/run_test.pl: * orbsvcs/tests/Notify/Bug_3663_Regression/run_test.pl: * orbsvcs/tests/Notify/Bug_3646d_Regression/run_test.pl: * orbsvcs/tests/Bug_2137_Regression/run_test.pl: * DevGuideExamples/LocalObjects/ServantLocator/MessengerServer.cpp: * DevGuideExamples/LocalObjects/ServantLocator/MessengerClient.cpp: * DevGuideExamples/LocalObjects/ServantLocator/run_test.pl: * DevGuideExamples/RTCORBA/MessengerServer.cpp: * DevGuideExamples/RTCORBA/MessengerClient.cpp: * DevGuideExamples/RTCORBA/run_test.pl: * tests/Stack_Recursion/run_test.pl: * tests/Timed_Buffered_Oneways/run_test.pl: * tests/Bug_2234_Regression/client.cpp: * tests/Bug_2234_Regression/server.cpp: * tests/Bug_2234_Regression/run_test.pl: * tests/Bug_2768_Regression/server.cpp: * tests/Bug_2768_Regression/run_test.pl: * tests/Blocking_Sync_None/run_test.pl: * tests/Crash_On_Write/run_test.pl: * tests/Bug_3068_Regression/run_test.pl: * tests/CSD_Strategy_Tests/TP_Test_Dynamic/run_test.pl: * tests/Bug_2683_Regression/server.cpp: * tests/Bug_2683_Regression/run_test.pl: * tests/RTScheduling/Scheduling_Interceptor/run_test.pl: * tests/File_IO/run_test.pl: * tests/Bug_1568_Regression/run_test.pl: * tests/Reliable_Oneways/run_sync_with_transport.pl: * tests/Reliable_Oneways/run_sync_none.pl: * tests/Reliable_Oneways/run_sync_with_server.pl: * tests/Reliable_Oneways/run_sync_with_target.pl: * bin/tao_other_tests.lst: * bin/tao_orb_tests.lst: Tests are converted to use new test framework and added to fuzz build.
Diffstat (limited to 'TAO/orbsvcs/tests/FaultTolerance')
-rwxr-xr-xTAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/run_test.pl26
1 files changed, 18 insertions, 8 deletions
diff --git a/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/run_test.pl b/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/run_test.pl
index 265cd62144f..397bf785c8c 100755
--- a/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/run_test.pl
+++ b/TAO/orbsvcs/tests/FaultTolerance/IOGRManipulation/run_test.pl
@@ -6,16 +6,26 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
# -*- perl -*-
use lib "$ENV{ACE_ROOT}/bin";
-use PerlACE::Run_Test;
+use PerlACE::TestTarget;
-$T = new PerlACE::Process ("IOGRTest");
+$status = 0;
+$debug_level = '0';
-$test = $T->SpawnWaitKill (60);
-
-if ($test != 0) {
- print STDERR "ERROR: test returned $test\n";
- exit 1;
+foreach $i (@ARGV) {
+ if ($i eq '-debug') {
+ $debug_level = '10';
+ }
}
-exit 0;
+my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
+
+$SV = $server->CreateProcess ("IOGRTest", "-ORBdebuglevel $debug_level");
+
+$status_server = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval() + 50);
+
+if ($status_server != 0) {
+ print STDERR "ERROR: $prog returned $status_server\n";
+ $status = 1;
+}
+exit $status;