summaryrefslogtreecommitdiff
path: root/openembedded/trinity.yaml
blob: 71d87b7370229d15857e0de52d453e420148594f (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
metadata:
    name: trinity
    format: "Lava-Test-Shell Test Definition 1.0"
    description:
        "Trinity Test (http://codemonkey.org.uk/projects/trinity/)
         It will test syscalls randomly with random arguments.
         We will run the test for DURATION seconds. If the kernel
         didn't crash or taint, it passes the test, otherwise, it failed.
         IT MIGHT DAMAGE THE PLATFORM, SO IT'S BETTER TO RUN IT ON EMULATOR."
    maintainer:
        - arthur.she@linaro.org
    os:
        - openembedded
    devices:
        - rtsm_fvp_base-aemv8a
    scope:
        - functional

install:
    git-repos:
        - https://github.com/kernelslacker/trinity.git

params:
    DURATION: 3600   # 1 hour

run:
    steps:
        - 'cd trinity'
        - './configure.sh'
        - 'make'
        - 'cd ..'
        - 'lava-test-case trinity --shell ./openembedded/scripts/fuzz-test.sh $DURATION trinity.log.gz'
        - 'lava-test-case-attach trinity trinity.log.gz'