summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/objects/run.py
diff options
context:
space:
mode:
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)