summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/thread/run.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-05 11:09:55 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-05 11:09:55 +0000
commit9b8cc712d4a41d71840416776bc94ee8485bb9b3 (patch)
tree7d467fdd6a66bc2b5878d82070d45adbd5c20414 /cppe/test/IceE/thread/run.py
parentcleaning the cache method out of ReferenceFactory (diff)
downloadice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.tar.bz2
ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.tar.xz
ice-9b8cc712d4a41d71840416776bc94ee8485bb9b3.zip
Changed Ice to IceE EVERYWHERE!!!
Diffstat (limited to 'cppe/test/IceE/thread/run.py')
-rwxr-xr-xcppe/test/IceE/thread/run.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/cppe/test/IceE/thread/run.py b/cppe/test/IceE/thread/run.py
new file mode 100755
index 00000000000..9017f485414
--- /dev/null
+++ b/cppe/test/IceE/thread/run.py
@@ -0,0 +1,40 @@
+#!/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("IceE", "thread")
+testdir = os.path.join(toplevel, "test", name)
+
+client = os.path.join(testdir, "client")
+clientOptions = ' ' + testdir;
+
+print "starting client...",
+clientPipe = os.popen(client + clientOptions + " 2>&1")
+print "ok"
+
+TestUtil.printOutputFromPipe(clientPipe);
+
+clientStatus = clientPipe.close()
+
+if clientStatus:
+ sys.exit(1)
+
+sys.exit(0)