Test Case Index

Test Case source

lava-android-test-host

  • format: Lava-Test-Shell Test Definition 1.0
  • maintainers:
    • <milosz.wasilewski@linaro.org>

  • scope:
  • devices:
  • os:
  • description:

Wrapper around lava-android-test. This is the host part. It runs on KVM device type in LAVA and installs lava-android-test on it. Tests are executed using TEST_NAME parameter. Default test tu run is 'busybox'. Optional test parameters are specified using TEST_PARAMS parameter. There is optional JAVA_PACKAGE parameter to be used in case different Java version is needed. It defaults to openjdk-6-jre-headless. This test definition should be run on Ubuntu images.

Example JSON job file

{
    "device_type": "kvm",
    "health_check": false,
    "job_name": "example lava-android-test-host",
    "timeout": 1800
    "actions": [
        {
            "command": "deploy_linaro_image",
            "parameters": {
                "image": "<IMAGE_URL>"
            }
        },
        {
            "command": "lava_test_shell",
            "parameters": {
                "testdef_repos": [
                    {
                        "git-repo": "git://git.linaro.org/qa/test-definitions.git",
                        "testdef": "android/lava-android-test-host.yaml"
                    }
                ],
                "timeout": 900
            }
        },

        {
            "command": "submit_results",
            "parameters": {
                "server": "http://username@your.lava.server/RPC2/",
                "stream": "/your/bundle/stream/",
                "token": "<your_token>"
            }
        }
    ],
}

Platform/QA/TestCases/Automated/android_lava-android-test-host (last modified 2016-03-30 19:36:19)