~extension-hackers/globalmenu-extension/3.5

« back to all changes in this revision

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

  • Committer: Chris Coulson
  • Date: 2011-08-05 17:37:02 UTC
  • Revision ID: chrisccoulson@ubuntu.com-20110805173702-n11ykbt0tdp5u07q
Refresh build system from FIREFOX_6_0b5_BUILD1

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)