summaryrefslogtreecommitdiff
path: root/ubuntu/bL_iks_tests.yaml
blob: 83f77b283713d10d089ed88f50c229fb67f62629 (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
metadata:
    format: "Lava-Test-Shell Test Definition 1.0"
    name: bL_iks_tests
    description: "This test suite covers big.LITTLE switching functionality and
          stress tests. The main focus is to test big.LITTLE switching while
          system switches its cores from A15 to A7 and vice versa"
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - vexpress-tc2
    maintainer:
        - naresh.kamboju@linaro.org

install:
    deps:
        - bc
        - memtester
        - stressapptest
        - libjpeg-turbo-test
    git-repos:
        - http://git.linaro.org/qa/bL_iks_tests.git
    steps:
        - 'cd bL_iks_tests'
        - 'make all'
        - 'make install'
        - 'echo "deb http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c) multiverse"  >> /etc/apt/sources.list'
        - 'echo "deb-src http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c) multiverse"  >> /etc/apt/sources.list'
        - 'apt-get update'
        - 'apt-get install iozone3'
        - 'wget --no-check-certificate http://testdata.validation.linaro.org/tools/ffmpeg.tar.bz2'
        - 'tar -jxvf ffmpeg.tar.bz2'
        - 'cd ffmpeg; make install'

run:
    steps:
        - 'run_stress_switcher_tests.sh -a > iks_stdout.log 2>&1'
        - 'cat iks_stdout.log | egrep -w "PASS|FAIL"'

parse:
    pattern: "^(?P<test_case_id>\\S+)\\s+:\\s+(?P<result>\\S+)$"
    fixupdict:
          PASS: pass
          FAIL: fail