~ubuntu-branches/ubuntu/trusty/enigmail/trusty-security

« back to all changes in this revision

Viewing changes to build/mobile/devicemanager-run-test.py

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2011-08-12 12:25:06 UTC
  • mfrom: (0.12.4 upstream)
  • Revision ID: package-import@ubuntu.com-20110812122506-zko6c7zfexvyg71q
Tags: 2:1.2.1-0ubuntu1
* New upstream release
* Drop fix_install_rdf_xml_errors.diff - fixed upstream
* Refresh port_to_latest_thunderbird.diff
* Add a proper get-orig-source target which pulls the build system from
  lp:~mozillateam/mozilla-build-system/beta, now that we don't have the old
  build-system.tar.gz from xulrunner

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
# ***** END LICENSE BLOCK *****
36
36
 
37
37
import devicemanager
 
38
import devicemanagerUtils
38
39
import sys
39
40
import os
40
41
 
41
 
 
42
42
def main():
43
43
    ip_addr = os.environ.get("DEVICE_IP")
44
44
    port = os.environ.get("DEVICE_PORT")
56
56
        print "Error: please define the environment variable REMOTE_GRE_PATH before running this test"
57
57
        sys.exit(1)
58
58
 
59
 
    dm = devicemanager.DeviceManager(ip_addr, int(port))
 
59
    dm = devicemanagerUtils.getDeviceManager(ip_addr, int(port))
60
60
    if len(sys.argv) < 2:
61
61
        print "usage python devicemanager-run-test.py <test program> [args1 [arg2..]]"
62
62
        sys.exit(1)