LAVA: Tips tricks - liuyq/android-issues GitHub Wiki

  1. run tests/commands via the serial console

    Like the job defined here: https://validation.linaro.org/scheduler/job/3850344/definition#defline127

     - test:
        timeout:
          minutes: 5
        interactive:
        - name: smoke-ls
          prompts:
            - console:/
            - root@(.*):[/~]#
          script:
          - command: "echo ==========================="
          - command: "sleep 60"
          - command: "echo ==========================="
          - command: "logcat -d"
          - command: "echo ==========================="
          - command: "getprop"
          - command: "echo ==========================="