summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/run.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-02-15 20:08:16 +0000
committerMark Spruiell <mes@zeroc.com>2002-02-15 20:08:16 +0000
commit44f8d10d4afd24410bd20870001324cb8118954b (patch)
tree2671934215d3ab04c649605b12bbad8316de872b /java/test/Ice/exceptions/run.py
parentTested, still problems with Glacier, everything else seems fine. (diff)
downloadice-44f8d10d4afd24410bd20870001324cb8118954b.tar.bz2
ice-44f8d10d4afd24410bd20870001324cb8118954b.tar.xz
ice-44f8d10d4afd24410bd20870001324cb8118954b.zip
adding test scripts
Diffstat (limited to 'java/test/Ice/exceptions/run.py')
-rwxr-xr-xjava/test/Ice/exceptions/run.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/run.py b/java/test/Ice/exceptions/run.py
new file mode 100755
index 00000000000..cf4e4c70ca7
--- /dev/null
+++ b/java/test/Ice/exceptions/run.py
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+# **********************************************************************
+#
+# Copyright (c) 2001
+# MutableRealms, Inc.
+# Huntsville, AL, USA
+#
+# All Rights Reserved
+#
+# **********************************************************************
+
+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", "exceptions")
+
+TestUtil.clientServerTest(toplevel, name)
+TestUtil.collocatedTest(toplevel, name)
+sys.exit(0)