diff options
| author | Malcolm Smith <smith@chaquo.com> | 2025-06-05 09:23:46 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-05 09:23:46 (GMT) |
| commit | fd39aa3a7fea89c98c01756193632c197dd2d337 (patch) | |
| tree | 0a6da4815b4dbe8669ba4214f48da2d8b846c8d6 /Android/testbed/app/src/androidTest/java | |
| parent | 68f8eed6ff53c24052f9d7d2dd3dac91c5a00b19 (diff) | |
| download | cpython-fd39aa3a7fea89c98c01756193632c197dd2d337.zip cpython-fd39aa3a7fea89c98c01756193632c197dd2d337.tar.gz cpython-fd39aa3a7fea89c98c01756193632c197dd2d337.tar.bz2 | |
[3.13] gh-131531: android.py enhancements to support cibuildwheel (GH-132870) (#135164)
Modifies the environment handling and execution arguments of the Android management
script to support the compilation of third-party binaries, and the use of the testbed to
invoke third-party test code.
(cherry picked from commit 2e1544fd2b0cd46ba93fc51e3cdd47f4781d7499)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Diffstat (limited to 'Android/testbed/app/src/androidTest/java')
| -rw-r--r-- | Android/testbed/app/src/androidTest/java/org/python/testbed/PythonSuite.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Android/testbed/app/src/androidTest/java/org/python/testbed/PythonSuite.kt b/Android/testbed/app/src/androidTest/java/org/python/testbed/PythonSuite.kt index 0e888ab..94be52d 100644 --- a/Android/testbed/app/src/androidTest/java/org/python/testbed/PythonSuite.kt +++ b/Android/testbed/app/src/androidTest/java/org/python/testbed/PythonSuite.kt @@ -17,11 +17,11 @@ class PythonSuite { fun testPython() { val start = System.currentTimeMillis() try { - val context = + val status = PythonTestRunner( InstrumentationRegistry.getInstrumentation().targetContext - val args = - InstrumentationRegistry.getArguments().getString("pythonArgs", "") - val status = PythonTestRunner(context).run(args) + ).run( + InstrumentationRegistry.getArguments() + ) assertEquals(0, status) } finally { // Make sure the process lives long enough for the test script to |
