@@ -1159,18 +1159,15 @@ class IOSARM64SimulatorBuild(_IOSSimulatorBuild):
11591159
11601160class AndroidBuild (BaseBuild ):
11611161 """Build Python for Android on a Linux or Mac machine, and test it using a
1162- Gradle-managed emulator. Worker setup instructions:
1162+ Gradle-managed emulator.
11631163
1164- * Install all the usual tools and libraries needed to build Python for the
1165- worker's own operating system.
1164+ To set up a worker, see cpython/Android/README.md, especially the following
1165+ sections:
11661166
1167- * Follow the instructions in the Prerequisites section of
1168- cpython/Android/README.md.
1169-
1170- * On Linux:
1171- * Make sure the worker has access to the KVM virtualization interface.
1172- * Start an X server such as Xvfb, and set the DISPLAY environment variable
1173- to point at it.
1167+ * Install everything listed under "Prerequisites".
1168+ * Do any OS-specific setup mentioned under "Testing".
1169+ * If the managed emulator appears to be running out of memory, increase
1170+ its RAM size as described under "Testing".
11741171 """
11751172
11761173 def setup (self , ** kwargs ):
@@ -1198,14 +1195,10 @@ def setup(self, **kwargs):
11981195 name = "Compile host Python" ,
11991196 command = [android_py , "make-host" , self .host_triple ],
12001197 ),
1201- Compile (
1202- name = "Build testbed" ,
1203- command = [android_py , "build-testbed" ],
1204- ),
12051198 Test (
12061199 command = [
1207- android_py , "test" , "--managed" , "maxVersion" , "--" ,
1208- "-W " , "-uall " ,
1200+ android_py , "test" , "--managed" , "maxVersion" , "-v" , "- -" ,
1201+ "-uall " , "--single-process" , "--rerun" , "-W " ,
12091202 ],
12101203 timeout = step_timeout (self .test_timeout ),
12111204 ),
0 commit comments