From: Hans-Christoph Steiner Date: Mon, 30 Jun 2014 15:28:38 +0000 (-0400) Subject: tests: create_fake_android_home should create old build-tools version X-Git-Tag: 0.2.1~73^2~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=40d4e300100998af04dab01b8f3d232a52076297;p=fdroidserver.git tests: create_fake_android_home should create old build-tools version This is testing the build-tools version auto-detect in `fdroid init`, so it should be kept as an older version. This is not meant to test the current version of the build tools. --- diff --git a/tests/run-tests b/tests/run-tests index 11aa2deb..ec9e2edc 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -23,10 +23,12 @@ copy_apks_into_repo() { set -x } +# keep this as an old version to test the automatic parsing of build-tools +# verion numbers in `fdroid init` create_fake_android_home() { mkdir $1/build-tools - mkdir $1/build-tools/20.0.0 - touch $1/build-tools/20.0.0/aapt + mkdir $1/build-tools/19.0.2 + touch $1/build-tools/19.0.2/aapt } create_test_dir() {