summaryrefslogtreecommitdiff
path: root/CIAO/tests/IDL3/Events/Any/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/tests/IDL3/Events/Any/run_test.pl')
-rwxr-xr-xCIAO/tests/IDL3/Events/Any/run_test.pl31
1 files changed, 31 insertions, 0 deletions
diff --git a/CIAO/tests/IDL3/Events/Any/run_test.pl b/CIAO/tests/IDL3/Events/Any/run_test.pl
new file mode 100755
index 00000000000..f13f9726b5b
--- /dev/null
+++ b/CIAO/tests/IDL3/Events/Any/run_test.pl
@@ -0,0 +1,31 @@
+eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
+ & eval 'exec perl -S $0 $argv:q'
+ if 0;
+
+# $Id$
+# -*- perl -*-
+
+# The first three lines above let this script run without specifying the
+# full path to perl, as long as it is in the user's PATH.
+# Taken from perlrun man page.
+
+# Do not use environment variables here since not all platforms use ACE_ROOT
+use lib "$ENV{ACE_ROOT}/bin";
+use PerlACE::Run_Test;
+use English;
+
+$status = 0;
+$exflags = "";
+
+# Run the test
+
+$EX = new PerlACE::Process ("EventAny");
+$EX->Arguments ($exflags);
+$test = $EX->SpawnWaitKill (10);
+
+if ($test != 0) {
+ print STDERR "ERROR: test error status $test\n";
+ $status = 1;
+}
+
+exit $status;