README.rst 1.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
================================
QEMU test provider for virt-test
================================

This is the official [1] test provider for the following
subtest types:

* QEMU
* Generic (Virtualization backend agnostic)
* OpenVSwitch

Really quick start guide
------------------------

1) Fork this repo on github
2) Create a new topic branch for your work
3) Create a new test provider file in your virt test repo,
   like:

::

    cp io-github-autotest-qemu.ini myprovider.ini
::

    [provider]
    uri: file:///home/foo/Code/tp-qemu
    [generic]
    subdir: generic/
    [qemu]
    subdir: qemu/
    [openvswitch]
    subdir: openvswitch/
You can optionally delete temporarily the
`io-github-autotest-qemu.ini` file, just so you don't have test
conflicts. Then you can develop your new test code, run it
using virt test, and commit your changes.

4) Make sure you have `inspektor installed. <https://github.com/autotest/inspektor#inspektor>`_
5) Run:

::

43 44
    inspekt checkall --disable-style E501,E265,W601,E402,E722,E741 --no-license-check

45 46 47 48
6) Fix any problems
7) Push your changes and submit a pull request
8) That's it.

49
[1] You can always create your own test provider, if you have special purposes, or just want to develop your work independently.