diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-02-20 15:00:46 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-02-22 15:44:06 -0500 |
commit | 62fecb09d3bbc66438a4ceb979cfa607b91ca38e (patch) | |
tree | 84067ffea921dc45793930a0fea1a9626f254a37 /tests/test_urls.py | |
parent | 47afa912b3dea18a4fdaac9c270bfc9fbb56b637 (diff) | |
download | virt-manager-62fecb09d3bbc66438a4ceb979cfa607b91ca38e.tar.gz |
tests: Create a smaller testsuite.xml
Right now, most test cases will create a libvirt test driver using
tests/testdriver.xml. This is problematic for 2 reasons:
1) testdriver.xml is 3500 lines of XML, and it's parsed hundreds of
times. Opening it is responsible for about 25% of test suite time
2) Older libvirt chokes on testdriver.xml, meaning the test suite will
be useless there. This is a recurring problem as new features are
added to testdriver.xml
Most test cases don't actually need all the test state in testdriver.xml
though. So this creates a smaller testsuite.xml which has a lower
libvirt requirement and is much quicker to parse. New XML bits should
continue to go into testdriver.xml so we can keep testsuite.xml as
the more stripped down option.
Diffstat (limited to 'tests/test_urls.py')
0 files changed, 0 insertions, 0 deletions