metadata:
        format: Lava-Test Test Definition 1.0
        name: lttng-kernel-test
        description: "Run kernel test suite"

run:
        steps:
                - source /tmp/virtenv/activate
                - export TMPDIR="/tmp"
                - ulimit -c unlimited
                - mkdir -p coredump
                - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
                - cd /tmp/virtenv/src/lttng-tools
                - lava-test-case build-benchmarks --shell "make"
                - cd tests
                - lava-test-case run-benchmarks --shell "./run.sh root_regression"
                - cd
                - tar czf coredump.tar.gz coredump
                - lava-test-case-attach run-benchmarks coredump.tar.gz

metadata:
        format: Lava-Test Test Definition 1.0
        name: lttng-kernel-test
        description: "Run kernel test suite"

run:
        steps:
                - source /tmp/virtenv/activate
                - export TMPDIR="/tmp"
                - ulimit -c unlimited
                - mkdir -p coredump
                - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
                - cd /tmp/virtenv/src/lttng-tools
                - lava-test-case build-test-suite --shell "make"
                - cd tests
                - lava-test-case run-tests --shell "./run.sh root_regression"
                - cd
                - tar czf coredump.tar.gz coredump
                - lava-test-case-attach run-benchmarks coredump.tar.gz

Change lava test case name for the baremetal test suite
Change lava test case name for the baremetal test suite
