LAVA Test Definitions Repository Structure and Requirements

Overview

lava-test-shell test definitions are consolidated in http://git.linaro.org/gitweb?p=qa/test-definitions.git;a=summary git repository. This is the official repository maintained by LAVA and Build & Baselines team. The repository has a structure which is explained in this page.

Structure of Test Definitions Repository

The structure of test definitions repostiory is shown in the following tree:

 . test-definitions
 ├── android
 │   ├── 0xbench.yaml
 │   ├── binder.yaml
 │   ├── busybox.yaml
 │   ├── dalvik-vm-unit-tests.yaml
 │   ├── homescreen.yaml
 │   ├── scripts
 │   │   ├── 0xbench
 │   │   │   ├── 0xbench.sh
 │   │   │   └── ZeroxBench_Preference.xml
 │   │   ├── binder.sh
 │   │   ├── busybox.sh
 │   │   ├── dalvik-vm-unit-tests.sh
 │   │   ├── homescreen.sh
 │   │   └── v8.sh
 │   └── v8.yaml
 ├── common
 ├── openembedded
 │   ├── busybox.yaml
 │   ├── device-tree.yaml
 │   ├── ethernet.yaml
 │   ├── kernel-version.yaml
 │   ├── mysql.yaml
 │   ├── perf.yaml
 │   ├── pwrmgmt.yaml
 │   ├── scripts
 │   │   ├── busybox.sh
 │   │   ├── ethernet.sh
 │   │   ├── kernel-version.sh
 │   │   ├── mysql.sh
 │   │   └── toolchain.sh
 │   └── toolchain.yaml
 ├── release_notes
 └── ubuntu
     ├── acpi-abat.yaml
     ├── acpica.yaml
     ├── bluetooth-enablement.yaml
     ├── bootchart.yaml
     ├── device-tree.yaml
     ├── e2eaudiotest.yaml
     ├── fwts.yaml
     ├── gatortests.yaml
     ├── leb-basic-graphics.yaml
     ├── libhugetlbfs.yaml
     ├── ltp.yaml
     ├── perf.yaml
     ├── pwrmgmt.yaml
     └── wifi-enablement.yaml 
  • Test definitions that are specific to a particular image goes into their respective folders such as 'android', 'openembedded', 'ubuntu', etc.
  • Test definitions that apply to one or more images go into 'common' folder.
  • Each folder for image contains a 'scripts' folder which holds all the scripts related to the test definition.
  • If there are more than one file such as a script and related files to the test definition, then it should get into a separate folder inside 'scripts'. See the '0xbench' example in the above tree.
  • release_notes is a text file which holds information about each release and is at the top level of the test definition folder.

Requirements for test definition authoring

In order to author a test definition with the proper format please refer to lava-test-shell documentation available at http://lava-dispatcher.readthedocs.org/en/latest/lava_test_shell.html

Platform/LAB/TestDefinitionsRepositoryStructureRequirements (last modified 2014-04-23 15:28:06)