~pwlars/ubuntu-test-cases/krillin-recovery

« back to all changes in this revision

Viewing changes to jenkins/setup_jenkins.py

  • Committer: paul.larson at canonical
  • Date: 2014-04-08 19:25:57 UTC
  • mto: This revision was merged to the branch mainline in revision 218.
  • Revision ID: paul.larson@canonical.com-20140408192557-x2q33m64o3occr4b
Add suspend-blocker test

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 
128
128
def _configure_qa_job(instance, env, args, config_item, device, test):
129
129
    defserial = '$(${BZRDIR}/scripts/get-adb-id ${NODE_NAME})'
 
130
    #If the slave is specified for this test, set it
 
131
    slave = getattr(test, 'device', device['slave-label'])
130
132
    params = {
131
 
        'name': device['slave-label'],
 
133
        'name': slave,
132
134
        'serial': device.get('serial', defserial),
133
135
        'publish': args.publish,
134
136
        'branch': args.branch,
149
151
 
150
152
 
151
153
def _configure_qa_jobs(instance, env, args, config_item, device):
152
 
    tests = testconfig.TESTSUITES
153
 
    tests = testconfig.filter_tests(tests, config_item['image-type'])
 
154
    tests = list(testconfig.TESTSUITES)
 
155
    tests = testconfig.filter_tests(tests, config_item['image-type'],
 
156
                                    device['name'])
154
157
    tests = [t for t in tests if not t.smoke]
155
158
    jobs = []
156
159
    for t in tests: