| metadata: |
| name: meminfo |
| format: "Lava-Test-Shell Test Definition 1.0" |
| description: "Collect the information in /proc/meminfo after boot." |
| maintainer: |
| - yongqin.liu@linaro.org |
| os: |
| - android |
| scope: |
| - functional |
| devices: |
| - juno, hikey |
| |
| run: |
| steps: |
| - sleep 300 |
| - ./android/scripts/meminfo.sh |
| - cd /data/local/tmp |
| - if [ -f dumpsys-meminfo.txt ]; then lava-test-run-attach dumpsys-meminfo.txt text/plain; fi |
| - if [ -f proc-meminfo.txt ]; then lava-test-run-attach proc-meminfo.txt text/plain; fi |
| parse: |
| pattern: "^(?P<test_case_id>\\w+),(?P<measurement>\\d+),(?P<units>\\w+),(?P<result>pass)$" |