On 01/24/2014 02:42 PM, Paolo Bonzini wrote:
Il 09/01/2014 03:53, Lucas Meneghel Rodrigues ha scritto:
virt-test will have a subdirectory 'test-providers.d' that contains
definition
files, which are .ini files that encode information from a test
provider. Here's
an example structure of a test provider file:
Weren't .d directories kinda obsoleted?
Also, I know I'm late, but would it be possible to use git submodules
instead?
We did consider submodules, but we wanted a solution a bit more
flexible. For example, if people want to put virt-tests on a random
subdir of qemu.git, that would be possible with test providers, and it'd
be very awkward with only submodules.
Hypothetically, the two files currently in test-providers.d would be
replaced by a .gitmodules file like this one:
[submodule "qemu"]
path = test-providers/qemu
url = https://github.com/autotest/tp-qemu.git
subdirs = generic/ qemu/ openvswitch/
^ I did not know git submodules supported subdirs.
[submodule "libvirt"]
path = test-providers/libvirt
url = https://github.com/autotest/tp-qemu.git
subdirs = libvirt/ libguestfs/ lvsb/ v2v/
This can be in addition to files dropped in test-providers/ using the
current syntax -- it doesn't have to be an alternative.
I believe it is fine using git submodules + test providers, should the
need arise.
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel