blob: 272913a516ef08210b033fffb6a08dff1d375441 [file] [log] [blame]
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)$"