mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
tests: allow tests to run without any Android SDK installed
This commit is contained in:
parent
43c61aecee
commit
2d3e7ef950
1 changed files with 26 additions and 25 deletions
|
|
@ -156,6 +156,7 @@ $fdroid --version
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
echo_header 'run process when building and signing are on separate machines'
|
echo_header 'run process when building and signing are on separate machines'
|
||||||
|
|
||||||
|
if which zipalign || ls -1 $ANDROID_HOME/build-tools/*/zipalign; then
|
||||||
REPOROOT=`create_test_dir`
|
REPOROOT=`create_test_dir`
|
||||||
cd $REPOROOT
|
cd $REPOROOT
|
||||||
cp $WORKSPACE/tests/keystore.jks $REPOROOT/
|
cp $WORKSPACE/tests/keystore.jks $REPOROOT/
|
||||||
|
|
@ -180,7 +181,7 @@ test -e tmp/apkcache
|
||||||
! test -z tmp/apkcache
|
! test -z tmp/apkcache
|
||||||
test -L urzip.apk
|
test -L urzip.apk
|
||||||
grep -F '<application id=' repo/index.xml > /dev/null
|
grep -F '<application id=' repo/index.xml > /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
echo_header "test UTF-8 metadata"
|
echo_header "test UTF-8 metadata"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue