metadata:
    format: Lava-Test Test Definition 1.0
    name: armnn-unit-tests
    description: "Carry out armnn unit tests."
    maintainer:
        - theodore.grey@linaro.org
    os:
        - debian
    scope:
        - functional
    devices:
        - synquacer
        - dragonboard-845c
        - hi960-hikey
        - stm32mp1
params:
    ARMNN_TARBALL: 'https://snapshots.linaro.org/components/armnn/latest/armnn.tar.xz'
    TEST_DIR: '/usr/local/bin'
    UNIT_TESTS: 'true'
    PYTEST: 'false'
    SKIP_INSTALL: 'false'
run:
    steps:
        - cd ./automated/linux/armnn/
        - ./armnn.sh -s "${SKIP_INSTALL}" -t "${UNIT_TESTS}" -p "${PYTEST}" -a "${ARMNN_TARBALL}" -d "${TEST_DIR}"
        - ./../../utils/send-to-lava.sh ./output/results.txt
