summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Policies/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Policies/run_test.pl')
-rwxr-xr-xtrunk/TAO/tests/Policies/run_test.pl27
1 files changed, 27 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Policies/run_test.pl b/trunk/TAO/tests/Policies/run_test.pl
new file mode 100755
index 00000000000..87427de38b8
--- /dev/null
+++ b/trunk/TAO/tests/Policies/run_test.pl
@@ -0,0 +1,27 @@
+eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
+ & eval 'exec perl -S $0 $argv:q'
+ if 0;
+
+# $Id$
+# -*- perl -*-
+
+use lib "$ENV{ACE_ROOT}/bin";
+use PerlACE::Run_Test;
+
+$threads = '10';
+
+if (PerlACE::is_vxworks_test()) {
+ $T = new PerlACE::ProcessVX ("Manipulation", "-n $threads");
+}
+else {
+ $T = new PerlACE::Process ("Manipulation", "-n $threads");
+}
+
+$test = $T->SpawnWaitKill (60);
+
+if ($test != 0) {
+ print STDERR "ERROR: test returned $test\n";
+ exit 1;
+}
+
+exit 0;