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

@ -202,6 +202,17 @@ if use_apksigner; then
grep -F '<application id=' repo/index.xml > /dev/null
fi
#------------------------------------------------------------------------------#
echo_header "TODO remove once buildserver image is upgraded to bullseye with apksigner"
if java -version 2>&1 | grep -F 1.8.0; then
echo "Skipping the rest because they require apksigner 30.0.0+ which does not run on Java8"
echo SUCCESS
exit
fi
#------------------------------------------------------------------------------#
echo_header "test UTF-8 metadata"