Arthur She | 8e6b7ba | 2015-06-10 06:46:42 -0700 | [diff] [blame] | 1 | metadata: |
Milosz Wasilewski | ba3890e | 2015-06-23 15:36:41 +0100 | [diff] [blame] | 2 | name: gator-data-streaming |
Arthur She | 8e6b7ba | 2015-06-10 06:46:42 -0700 | [diff] [blame] | 3 | format: "Lava-Test-Shell Test Definition 1.0" |
| 4 | description: "Gator Data Streaming Test checks DS5 profiling feature for Ubuntu builds. The test |
| 5 | creates a sample session XML file called 'session.xml', this file is passed as a |
| 6 | parameter to the gatord command to do a local capture and test results are generated |
| 7 | depending upon output of this command." |
| 8 | maintainer: |
Arthur She | 8e6b7ba | 2015-06-10 06:46:42 -0700 | [diff] [blame] | 9 | - arthur.she@linaro.org |
| 10 | os: |
| 11 | - ubuntu |
| 12 | - openembedded |
| 13 | scope: |
| 14 | - functional |
| 15 | devices: |
| 16 | - arndale |
| 17 | - panda |
| 18 | - panda-es |
| 19 | - vexpress-a9 |
| 20 | - vexpress-tc2 |
| 21 | - juno |
| 22 | |
| 23 | install: |
Arthur She | bc7f141 | 2015-06-26 08:18:40 +0800 | [diff] [blame] | 24 | deps: |
| 25 | - build-essential |
Arthur She | 8e6b7ba | 2015-06-10 06:46:42 -0700 | [diff] [blame] | 26 | git-repos: |
| 27 | - url: https://git.linaro.org/arm/ds5/gator.git |
| 28 | steps: |
| 29 | - 'if [ -f "/usr/sbin/gatord" ]; then mv /usr/sbin/gatord /usr/sbin/gatord.bak; fi' |
| 30 | - 'cd gator/daemon' |
| 31 | - 'make all' |
| 32 | - 'cp gatord /usr/sbin' |
| 33 | |
| 34 | run: |
| 35 | steps: |
| 36 | - "cd common/scripts; ./gator-data-streaming.sh" |
| 37 | |
| 38 | parse: |
| 39 | pattern: "(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)" |
| 40 | fixupdict: |
| 41 | FAIL: fail |
| 42 | PASS: pass |