summaryrefslogtreecommitdiff
path: root/openembedded/trinity.yaml
blob: 14074e1a597ef89a8dad48a437490fb36f681d6f (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 for Linaro OpenEmbedded builds. It tests syscalls randomly
                  with random arguments, If the kernel didn't crash or taint, it passes the
                  test and fails otherwise.
                  NOTE: THE TEST MIGHT DAMAGE THE PLATFORM, SO IT'S BETTER TO RUN IT ON EMULATOR.
                  More Detils - http://codemonkey.org.uk/projects/trinity/"
    maintainer:
        - arthur.she@linaro.org
    os:
        - openembedded
    devices:
        - rtsm_fvp_base-aemv8a
        - juno
    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'