16 Star 7 Fork 14

openEuler / tp-qemu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.rst 1.23 KB
一键复制 编辑 原始数据 按行查看 历史

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.

  1. Make sure you have inspektor installed.
  2. Run:
inspekt checkall --disable-style E501,E265,W601,E402,E722,E741 --no-license-check
  1. Fix any problems
  2. Push your changes and submit a pull request
  3. That's it.

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

1
https://gitee.com/openeuler/tp-qemu.git
git@gitee.com:openeuler/tp-qemu.git
openeuler
tp-qemu
tp-qemu
master

搜索帮助