0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

test(perf): avoid OOM while running big batches of commit tests

TIL that you can still kill a machine with 64GB+64GB RAM+Swap if
you run enough Kotlin on it. Thanks gradle.
This commit is contained in:
Mike Hardy 2022-10-13 14:32:39 -05:00
parent 113b5666ac
commit 1047989bb6

View File

@ -14,6 +14,7 @@ first_commit="$1"
while :; do
echo "testing $(git log --pretty=oneline -1)"
./gradlew -q clean uninstallPlayDebug jacocoTestReport :api:lintRelease :AnkiDroid:lintPlayRelease ktlintCheck
./gradlew --stop
[ $(git rev-parse HEAD) = $first_commit ] && break
git checkout HEAD^
done