diff options
author | Mark Spruiell <mes@zeroc.com> | 2014-07-23 10:23:31 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2014-07-23 10:23:31 -0700 |
commit | 78ceddde5c628df3ccbfb3f86eb17a59f776b92d (patch) | |
tree | 046e536a60303cdbdfa052b0b3223a0c8a0755c8 /php/test/Ice/acm/run.py | |
parent | Windows 64 build failure (diff) | |
download | ice-78ceddde5c628df3ccbfb3f86eb17a59f776b92d.tar.bz2 ice-78ceddde5c628df3ccbfb3f86eb17a59f776b92d.tar.xz ice-78ceddde5c628df3ccbfb3f86eb17a59f776b92d.zip |
adding ACM tests for Python/Ruby/PHP
Diffstat (limited to 'php/test/Ice/acm/run.py')
-rwxr-xr-x | php/test/Ice/acm/run.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/php/test/Ice/acm/run.py b/php/test/Ice/acm/run.py new file mode 100755 index 00000000000..33fc2e8f3ac --- /dev/null +++ b/php/test/Ice/acm/run.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2014 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 + +path = [ ".", "..", "../..", "../../..", "../../../.." ] +head = os.path.dirname(sys.argv[0]) +if len(head) > 0: + path = [os.path.join(head, p) for p in path] +path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scripts", "TestUtil.py")) ] +if len(path) == 0: + raise RuntimeError("can't find toplevel directory!") +sys.path.append(os.path.join(path[0], "scripts")) +import TestUtil + +TestUtil.clientServerTest() |