~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-06-09 07:36:23 UTC
  • mfrom: (256.1.1 lava-android-test)
  • Revision ID: yongqin.liu@linaro.org-20130609073623-2p8ug3zj30xtn4be
add host log and logcat log of the CTS test into the result as attachment

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
                           fixupdict={'PASS': 'pass', 'FAIL': 'fail'})
53
53
 
54
54
attachments = [
55
 
    Attachment(pathname="/data/local/tmp/logcat.log",
56
 
               mime_type="text/plain"),
57
 
    Attachment(pathname="/data/local/tmp/kmsg.log",
58
 
               mime_type="text/plain"),
59
 
    Attachment(pathname="/data/local/tmp/cts-results.zip",
 
55
        Attachment(pathname="/data/local/tmp/logcat.log",
 
56
               mime_type="text/plain"),
 
57
        Attachment(pathname="/data/local/tmp/kmsg.log",
 
58
               mime_type="text/plain"),
 
59
        Attachment(pathname="/data/local/tmp/cts-results.zip",
 
60
               mime_type="application/zip"),
 
61
        Attachment(pathname="/data/local/tmp/device_logcat.zip",
 
62
               mime_type="application/zip"),
 
63
        Attachment(pathname="/data/local/tmp/host_log.zip",
60
64
               mime_type="application/zip")
61
 
                ]
 
65
        ]
62
66
testobj = AndroidTest(testname=test_name,
63
67
                                                installer=inst,
64
68
                                                runner=run,