run-tests: skip tests that require apksigner when running on Java8

The buildserver VM has not been upgraded yet to bullseye, so it is still on
Debian/stretch.  The buildserver VM does not need to run `fdroid update`,
`fdroid signindex`, etc. so this new apksigner requirement should not
affect app builds even though they are stuck on Debian/stretch.
This commit is contained in:
Hans-Christoph Steiner 2022-05-25 09:44:39 +02:00
parent 3182b77d18
commit fe22958476
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
3 changed files with 15 additions and 0 deletions

View file

@ -1165,6 +1165,8 @@ class UpdateTest(unittest.TestCase):
fdroidserver.common.options = Options
config = fdroidserver.common.read_config(fdroidserver.common.options)
if 'apksigner' not in config: # TODO remove me for buildserver-bullseye
self.skipTest('SKIPPING test_update_with_AllowedAPKSigningKeys, apksigner not installed!')
config['repo_keyalias'] = 'sova'
config['keystorepass'] = 'r9aquRHYoI8+dYz6jKrLntQ5/NJNASFBacJh7Jv2BlI='
config['keypass'] = 'r9aquRHYoI8+dYz6jKrLntQ5/NJNASFBacJh7Jv2BlI='