summaryrefslogtreecommitdiff
path: root/android/scheduler_testssuites.yaml
blob: f751fcf9548e44fd12df6b31933cc4920329b879 (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
metadata:
    name: big.LITTLE_Scheduler_tests
    version: 1.0
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "big.LITTLE Scheduler tests: This test suite generates
                  synthetic loads to validate the scheduler task placements
                  functionality on big and little cores according to the load
                  of the task. Test execution takes around 60 minutes"
    maintainer:
        - "naresh.kamboju@linaro.org"
    os:
        - "android"
    devices:
        - "vexpress-tc2"
    scope:
        - "functional"
    timeout: 6000

install:
    steps:
        - "echo 0 > /sys/kernel/bL_switcher/active"
        - "mkdir /data/local/fts"
        - "cd /data/local/fts"
        - "wget http://people.linaro.org/~naresh.kamboju/scheduler_testrun.tar.gz"
        - "tar -xvzf scheduler_testrun.tar.gz"
        - "mv testrunner testrunner_back"
        - "cp testrunner_back/run_sched_tests.sh ."
        - "cp testrunner_back/testrunner ."

run:
    steps:
        - "sh /data/local/fts/run_sched_tests.sh &> sched_output.log"
        - "cat sched_output.log | egrep -w 'succeeded|failed|deprecated'"
        - "lava-test-run-attach sched_output.log text/plain"

parse:
    pattern: "^(?P<test_case_id>\\S+):\\s+(?P<result>\\S+)$"
    fixupdict:
        succeeded: pass
        failed: fail
        deprecated: skip