import logging
from s1s2test import S1S2Test

logging.basicConfig(filename="foo.log",
                    filemode="w",
                    level='DEBUG',
                    format='%(asctime)s|%(levelname)s|%(message)s')

p1 = S1S2Test(phoneid='galaxy-nexus',
              serial='014691061801b00b',
              ip='10.250.4.112',
              sutcmdport='20701',
              machinetype='galaxy_nexus')

jobs = [{"buildurl":'http://people.mozilla.org/~ctalbert/mobile_perf/fennec-12.0a1.en-US.android-arm.apk','blddate':'2012-01-26','revision': 'deadbeef', 'androidprocname': 'org.mozilla.fennec_ctalbert', 'version':'12','bldtype':'opt'}]

for j in jobs:
    p1.add_job(j)
p1.start_test(stop=True)
print p1.get_status()


ea6e61e545f67475b5bc0fa93b293cd694d45603
import logging
from s1s2test import S1S2Test

logging.basicConfig(filename="foo.log",
                    filemode="w",
                    level='DEBUG',
                    format='%(asctime)s|%(levelname)s|%(message)s')

p1 = S1S2Test(phoneid='galaxy-nexus',
              serial='014691061801b00b',
              ip='10.250.4.112',
              sutcmdport='20701',
              machinetype='galaxy_nexus')

jobs = [{"buildurl":'http://people.mozilla.org/~ctalbert/mobile_perf/fennec-12.0a1.en-US.android-arm.apk','blddate':'2012-01-26','revision': 'deadbeef', 'androidprocname': 'org.mozilla.fennec_ctalbert', 'version':'12','bldtype':'opt'}]

for j in jobs:
    p1.add_job(j)
p1.start_test(stop=True)
print p1.get_status()

