summaryrefslogtreecommitdiff
path: root/common/scheduler_testssuites.yaml
blob: a588a326bfe49f4feb4805384d3e5b88b16e7f70 (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
metadata:
    name: big.LITTLE_Scheduler_tests
    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."
    maintainer:
        - naresh.kamboju@linaro.org
    os:
        - android
        - ubuntu
        - openembedded
    devices:
        - vexpress-tc2
        - juno
    scope:
        - functional

params:
    TEST_SUITE: "http://testdata.validation.linaro.org/tests/sched-tests-juno.tar.gz"
    TEST_PATH: "/data/local/schedtest"

install:
    steps:
        - 'echo 0 > /sys/kernel/bL_switcher/active || true'
        - 'mkdir -p $TEST_PATH'
        - 'cd $TEST_PATH'
        - 'wget -O scheduler-testsuite.tar.gz $TEST_SUITE'
        - 'tar -xvzf scheduler-testsuite.tar.gz'

run:
    steps:
        - './common/scripts/scheduler-test-android-setup.sh'
        - 'cd $TEST_PATH'
        - 'pwd'
        - './schedtest-run'
        - 'tar -zcvf sched_results.tar.gz suites'
        - 'lava-test-run-attach sched_results.tar.gz application/x-gtar'

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