~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to php/test/Ice/info/run.py

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
# **********************************************************************
 
3
#
 
4
# Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
 
5
#
 
6
# This copy of Ice is licensed to you under the terms described in the
 
7
# ICE_LICENSE file included in this distribution.
 
8
#
 
9
# **********************************************************************
 
10
 
 
11
import os, sys
 
12
 
 
13
path = [ ".", "..", "../..", "../../..", "../../../.." ]
 
14
head = os.path.dirname(sys.argv[0])
 
15
if len(head) > 0:
 
16
    path = [os.path.join(head, p) for p in path]
 
17
path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scripts", "TestUtil.py")) ]
 
18
if len(path) == 0:
 
19
    raise "can't find toplevel directory!"
 
20
sys.path.append(os.path.join(path[0]))
 
21
from scripts import *
 
22
 
 
23
TestUtil.clientServerTest()
 
24