summaryrefslogtreecommitdiff
path: root/ubuntu/pwrmgmt.yaml
blob: f1f170bf242599138ac3e630df8ecbe2b5759ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
metadata:
    name: pwrmgmt
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Test power management (PM-QA). Currently, the test runs cpufreq, cpuidle, cpuhotplug, thermal
                  and cputopology by default and individual test can be run via JSON file too.
                  Test case documentation available in wiki: https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/PmQaSpecification"
    maintainer:
        - lisa.nguyen@linaro.org
    os:
        - ubuntu
    scope:
        - functional
        - performance
    devices:
        - panda
        - panda-es
        - arndale
        - vexpress-a9
        - vexpress-tc2
        - beaglebone-black
        - d01
        - juno

install:
    deps:
        - linux-libc-dev
        - build-essential
        - git
    git-repos:
        - url: git://git.linaro.org/power/pm-qa.git
          destination: pm-qa
          branch: RELEASE
    steps:
        - "cd pm-qa"
        - "make -C utils"

params:
    PWR_TESTARG: cpufreq cpuidle cpuhotplug thermal cputopology
    RELEASE: 'pm-qa-v0.5.1'

run:
    steps:
        - cd pm-qa
        - for testset in $PWR_TESTARG; do make -C $testset check; done

parse:
    pattern: "^(?P<test_case_id>[a-z0-9_]+):\\s+(?P<result>pass|fail|skip)"