summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/objects/run.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-10-22 15:54:56 +0000
committerMarc Laukien <marc@zeroc.com>2001-10-22 15:54:56 +0000
commitbbe924f6c28a0519e54fdadab0470cc8819d9c96 (patch)
treea8cfd140006c6287c0923eda2ab5f237cdf1d7b3 /cpp/test/Ice/objects/run.py
parentfixed value demo (diff)
downloadice-bbe924f6c28a0519e54fdadab0470cc8819d9c96.tar.bz2
ice-bbe924f6c28a0519e54fdadab0470cc8819d9c96.tar.xz
ice-bbe924f6c28a0519e54fdadab0470cc8819d9c96.zip
started with objects test
Diffstat (limited to 'cpp/test/Ice/objects/run.py')
-rwxr-xr-xcpp/test/Ice/objects/run.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/test/Ice/objects/run.py b/cpp/test/Ice/objects/run.py
new file mode 100755
index 00000000000..8220617ff3a
--- /dev/null
+++ b/cpp/test/Ice/objects/run.py
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+# **********************************************************************
+#
+# Copyright (c) 2001
+# MutableRealms, Inc.
+# Huntsville, AL, USA
+#
+# All Rights Reserved
+#
+# **********************************************************************
+
+import os, sys
+
+for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
+ if os.path.exists(os.path.normpath(toplevel + "/config/TestUtil.py")):
+ break
+else:
+ raise "can't find toplevel directory!"
+
+sys.path.append(os.path.normpath(toplevel + "/config"))
+import TestUtil
+
+name = "Ice/objects"
+TestUtil.clientServerTest(toplevel, name)
+TestUtil.collocatedTest(toplevel, name)
+sys.exit(0)