tests: disable GTK tests on travis
The environment there is way too old. QubesOS/qubes-issues#910
This commit is contained in:
parent
e5ad26c090
commit
0ada6d0b64
@ -910,11 +910,17 @@ def load_tests(loader, tests, pattern): # pylint: disable=unused-argument
|
||||
'qubes.tests.tools.qvm_firewall',
|
||||
'qubes.tests.tools.qvm_ls',
|
||||
'qubespolicy.tests',
|
||||
'qubespolicy.tests.gtkhelpers',
|
||||
'qubespolicy.tests.rpcconfirmation',
|
||||
):
|
||||
tests.addTests(loader.loadTestsFromName(modname))
|
||||
|
||||
# GTK/Glib is way too old there
|
||||
if 'TRAVIS' not in os.environ:
|
||||
for modname in (
|
||||
'qubespolicy.tests.gtkhelpers',
|
||||
'qubespolicy.tests.rpcconfirmation',
|
||||
):
|
||||
tests.addTests(loader.loadTestsFromName(modname))
|
||||
|
||||
tests.addTests(loader.discover(
|
||||
os.path.join(os.path.dirname(__file__), 'tools')))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user