1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-05 06:50:10 +01:00
fdroidserver/tests
Jochen Sprickerhof 3809b4d424 Ignore git submodule failure in gotorevisionx
gotorevisionx tries to clean up the git repo before checking out a new
revision. In b848b99ba this was changed to reset and clean any submodule
as well. In case upstream has a broken submodule configuration this
could fail and we can't checkout the new revision. As we are doing a
reset and clean after checking out the new revision anyhow, this change
ignores submodule errors before the checkout and only makes sure that
the main repo is reset and clean.

This broke checkupdates for apps where old versions had broken
submodules. It checkout out the old version and got stuck, not able to
checkout any other version.
2021-06-15 20:39:18 +02:00
..
build-tools Added test aapt output files for build-tools 28.0.3 2019-01-13 19:27:02 +01:00
extra remove obselete tests 2020-06-10 10:43:25 +02:00
get_android_tools_versions common: properly parse version from NDK's source.properties 2021-03-09 15:55:45 +01:00
getsig include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
gnupghome gpg-sign all valid files in the repo, including source tarballs 2016-11-07 14:53:01 +01:00
metadata only use AutoName: in checkupdates 2021-01-14 20:36:09 +01:00
metadata-rewrite-yml Revert "Merge branch 'write-yaml-overhaul' into 'master'" 2019-04-01 10:24:00 +00:00
repo Bump METADATA_VERSION for apksigner transition 2021-04-14 22:08:26 +00:00
signindex Support ETag when downloading repository index 2017-05-02 15:37:02 -03:00
source-files Support '{' in extra line in parse_androidmanifests 2021-06-13 07:23:42 +02:00
stats tests: include info.zwanenburg.caffeinetile in index tests 2018-10-10 16:02:34 +02:00
triple-t-2 update: parse Triple-T v2.x layout 2019-10-04 14:11:40 +02:00
valid-package-names move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
androguard_test.py use default accepted_formats since all the files are .yml anyway 2020-06-10 10:43:21 +02:00
bad-unicode-πÇÇ现代通用字-български-عربي1.apk rename test files to work round filename length limits 2017-11-27 16:57:30 +01:00
build.TestCase remove redundant call to Path() 2021-06-08 16:50:48 +02:00
check-fdroid-apk use standard User-Agent in check-fdroid-apk 2018-01-26 10:18:41 +01:00
checkupdates.TestCase [checkupdates] UpdateCheckData tag for verocode if no regex 2021-06-15 19:27:29 +02:00
common.TestCase latesttags revert to git log and fix comma handling 2021-06-15 08:39:59 +02:00
config.py init: no error if examples/ dir cannot be found; overhaul repo_icon 2021-01-18 14:07:20 +01:00
corrupt-featureGraphic.png update: log errors on bad graphics, and then ignore the file 2019-09-26 22:06:21 +02:00
deploy.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
dummy-keystore.jks added functions for storing/loading signer fingerprints to stats 2017-09-26 14:11:09 +02:00
dump_internal_metadata_format.py purge code that modifies the app description, including linkifying 2020-12-08 09:37:49 +01:00
exception.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
funding-usernames.yaml update: insert donation links based on FUNDING.yml 2020-06-16 15:35:26 +02:00
gradle-maven-blocks.yaml scanner: fix regex for matching URLs in gradle maven{} blocks 2020-06-10 19:42:23 +02:00
gradle-release-checksums.py gradle-release-checksums: runs after commits push to fdroid/fdroidserver 2021-01-25 11:05:20 +01:00
import_proxy.py import.py: use pathlib and support Windows 2021-06-08 18:33:22 +08:00
import.TestCase metadata.py/rewritemeta.py: use pathlib and support Windows 2021-06-08 21:31:55 +08:00
index.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
init.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
install.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
IsMD5Disabled.java tests: support Java setups where MD5 is not disabled by default 2017-09-19 20:16:08 +02:00
janus.apk update: reject APKs with invalid file sig, probably Janus exploits 2017-12-14 16:57:22 +01:00
key-tricks.py index: fix GitLab Raw URLs with gitlab.com and recent versions 2020-12-15 08:30:48 +01:00
keystore.jks tests: add test for correctly handling CVC when archiving 2019-12-24 17:35:54 +01:00
lint.TestCase lint.py: use pathlib and support Windows 2021-06-09 15:46:52 +08:00
main.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
metadata.TestCase metadata.py/rewritemeta.py: use pathlib and support Windows 2021-06-08 21:31:55 +08:00
minimal_targetsdk_30_unsigned.apk publish: use apksigner for signing apks with targetSDK>=30 2020-09-09 18:09:28 +02:00
ndk-release-checksums.py tests/ndk-release-checksums.py: fix parsing of NDK r10e 2021-06-07 09:58:12 +02:00
no_targetsdk_minsdk1_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
no_targetsdk_minsdk30_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
Norway_bouvet_europe_2.obf.zip use smallest possible valid .obf.zip file in tests 2020-12-03 21:48:37 +01:00
openssl-version-check-test.py update: update openssl KnownVuln scan to handle all recent versions 2017-07-06 13:31:42 +02:00
org.bitbucket.tickytacky.mirrormirror_1.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_2.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_3.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_4.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.dyndns.fules.ck_20.apk use androguard if aapt isn't found 2017-05-04 23:35:17 +02:00
publish.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
rewritemeta.TestCase metadata.py/rewritemeta.py: use pathlib and support Windows 2021-06-08 21:31:55 +08:00
run-tests Ignore git submodule failure in gotorevisionx 2021-06-15 20:39:18 +02:00
scanner.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
signatures.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
SpeedoMeterApp.main_1.apk update: do not crash with androguard when working with apps without icons 2018-03-12 17:55:45 +01:00
test-gradlew-fdroid gradlew-fdroid: use gradle zipballs from local cachedir, if present 2021-03-11 08:40:34 +01:00
testcommon.py rough plugin system implementation 2020-06-10 12:11:47 +02:00
update.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
urzip-badcert.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-badsig.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-release-unsigned.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip-release.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip.apk tests: try fdroid update after adding an APK to an existing repo 2014-06-04 21:54:55 -04:00
v2.only.sig_2.apk support APK Signature V2 when apksigner is installed 2019-02-01 09:17:56 +01:00
vcs.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00