mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-15 05:01:10 +00:00
Autopkgtest: Trim triggered tests for gccgo-5
gccgo-5 exists in Ubuntu 15.04 only and builds all binary packages of gcc-5. Triggering all tests is pointless and a big waste of test resources, so trim down the list to actually useful ones. This can be dropped when 15.04 goes EOL.
This commit is contained in:
parent
775274ca89
commit
0eddac8476
@ -160,6 +160,16 @@ class AutoPackageTest(object):
|
||||
|
||||
tests = []
|
||||
|
||||
# hack for vivid's gccgo-5
|
||||
if src == 'gccgo-5':
|
||||
for test in ['juju', 'juju-core', 'juju-mongodb', 'mongodb']:
|
||||
try:
|
||||
tests.append((test, self.britney.sources['testing'][test][VERSION]))
|
||||
except KeyError:
|
||||
# no package in that series? *shrug*, then not (mostly for testing)
|
||||
pass
|
||||
return tests
|
||||
|
||||
# gcc-* triggers tons of tests via libgcc1, but this is mostly in vain:
|
||||
# gcc already tests itself during build, and it is being used from
|
||||
# -proposed, so holding it back on a dozen unrelated test failures
|
||||
|
Loading…
x
Reference in New Issue
Block a user