summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/retry/run.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2006-03-01 05:00:20 +0000
committerMatthew Newhook <matthew@zeroc.com>2006-03-01 05:00:20 +0000
commit23366af3199ff49b0bd103b9417f65f1cce4f93f (patch)
treebdbf76b878499c48857a39ac6252a9175a4b7d78 /cpp/test/Ice/retry/run.py
parentFixed windows build problem. (diff)
downloadice-23366af3199ff49b0bd103b9417f65f1cce4f93f.tar.bz2
ice-23366af3199ff49b0bd103b9417f65f1cce4f93f.tar.xz
ice-23366af3199ff49b0bd103b9417f65f1cce4f93f.zip
Added missing run.py.
Diffstat (limited to 'cpp/test/Ice/retry/run.py')
-rwxr-xr-xcpp/test/Ice/retry/run.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/cpp/test/Ice/retry/run.py b/cpp/test/Ice/retry/run.py
new file mode 100755
index 00000000000..561d1dfb8b8
--- /dev/null
+++ b/cpp/test/Ice/retry/run.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python
+# **********************************************************************
+#
+# Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
+#
+# This copy of Ice is licensed to you under the terms described in the
+# ICE_LICENSE file included in this distribution.
+#
+# **********************************************************************
+
+import os, sys
+
+for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
+ toplevel = os.path.normpath(toplevel)
+ if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")):
+ break
+else:
+ raise "can't find toplevel directory!"
+
+sys.path.append(os.path.join(toplevel, "config"))
+import TestUtil
+
+name = os.path.join("Ice", "operations")
+
+print "tests with regular server."
+TestUtil.clientServerTest(name)
+print "tests with AMD server."
+TestUtil.clientServerTestWithOptionsAndNames(name, "", "", "serveramd", "client")
+print "tests with collocated server."
+TestUtil.collocatedTest(name)
+sys.exit(0)