~linaro-validation/lava-android-test/trunk

« back to all changes in this revision

Viewing changes to lava_android_test/test_definitions/cts.py

  • Committer: Yongqin Liu
  • Date: 2013-05-20 08:11:23 UTC
  • mfrom: (251.1.2 lava-android-test)
  • Revision ID: yongqin.liu@linaro.org-20130520081123-t844588ar5noa8t8
merge with the branch that support customized attachment for each test

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
           "\s+(?P<result>\S+)\s*$")
46
46
parser = lava_android_test.testdef.AndroidTestParser(pattern=pattern,
47
47
                            fixupdict={'PASS': 'pass', 'FAIL': 'fail'})
 
48
 
 
49
attachments = [lava_android_test.testdef.Attachment(
 
50
                            pathname="/data/local/tmp/cts-results.zip",
 
51
                            mime_type="application/zip")
 
52
                ]
48
53
testobj = lava_android_test.testdef.AndroidTest(testname=test_name,
49
54
                                                installer=inst,
50
55
                                                runner=run,
51
 
                                                parser=parser)
 
56
                                                parser=parser,
 
57
                                                attachments=attachments)