diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-04-27 08:31:47 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-04-27 08:31:47 +0000 |
commit | 49e46bc0f64b88e16aa9c0ecd8c6ed10914e75d0 (patch) | |
tree | 26730fcae5d683183069533d5603425de1162e0c /cpp/test/Ice/proxy/run.py | |
parent | file run.py was initially added on branch R3_2_branch. (diff) | |
download | ice-49e46bc0f64b88e16aa9c0ecd8c6ed10914e75d0.tar.bz2 ice-49e46bc0f64b88e16aa9c0ecd8c6ed10914e75d0.tar.xz ice-49e46bc0f64b88e16aa9c0ecd8c6ed10914e75d0.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2118
Diffstat (limited to 'cpp/test/Ice/proxy/run.py')
-rwxr-xr-x | cpp/test/Ice/proxy/run.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cpp/test/Ice/proxy/run.py b/cpp/test/Ice/proxy/run.py new file mode 100755 index 00000000000..6c5b7b0e492 --- /dev/null +++ b/cpp/test/Ice/proxy/run.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2007 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", "proxy") + +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) |