mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
tests: Fix running testsuite on older libvirt
If we try to run the testsuite on anything older than libvirt 3.1, it immediately throws an exception before processing any tests, due to choking on parsing drm bits from testdriver.xml. This global failure is only due to sloppy coding though. Turn all test cases that use testdriver.xml into skips in this case, so we can at least get some test coverage otherwise.
This commit is contained in:
@@ -100,7 +100,7 @@ class _DistroURL(object):
|
||||
return "x86_64"
|
||||
return "x86_64"
|
||||
|
||||
testconn = utils.open_testdefault()
|
||||
testconn = utils.URIs.open_testdefault_cached()
|
||||
hvmguest = Guest(testconn)
|
||||
hvmguest.os.os_type = "hvm"
|
||||
xenguest = Guest(testconn)
|
||||
|
||||
Reference in New Issue
Block a user