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

@ -70,6 +70,8 @@ class SignindexTest(unittest.TestCase):
signindex.sign_index(str(self.repodir), 'index-v1.json')
def test_signindex(self):
if common.find_apksigner({}) is None: # TODO remove me for buildserver-bullseye
self.skipTest('SKIPPING test_signindex, apksigner not installed!')
os.mkdir('archive')
metadata = Path('metadata')
metadata.mkdir()