Skip to content

Commit 8a438c5

Browse files
committed
Missing dependencies on Android
1 parent 09c49f2 commit 8a438c5

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

‎Lib/test/libregrtest/skipped.py‎

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464

6565
# List of tests expected to be skipped on sys.platform
6666
EXPECTED_SKIP = set()
67-
6867
if support.Py_GIL_DISABLED:
6968
# Need GIL build
7069
EXPECTED_SKIP.add('test_interpreters')
@@ -146,6 +145,7 @@
146145
# Need ./configure --with-dtrace
147146
EXPECTED_SKIP.add('test_dtrace')
148147

148+
149149
if support.MS_WINDOWS:
150150
# Tests specific to non-Windows platforms
151151
EXPECTED_SKIP |= {
@@ -197,14 +197,25 @@
197197
# Test specific to Android
198198
EXPECTED_SKIP.add('test_android')
199199
else:
200+
# Missing dependencies on Android
201+
EXPECTED_SKIP |= {
202+
'test_dbm_gnu', # need _gdbm
203+
'test_dbm_ndbm', # need _dbm
204+
'test_grp', # need grp
205+
'test_readline', # need libreadline/libedit
206+
}
207+
200208
# _multiprocessing is not available on Android
201209
EXPECTED_SKIP |= NEED_MULTIPROCESSING
202210
# _tkinter is not available on Android
203211
EXPECTED_SKIP |= NEED_TKINTER
204212

213+
205214
if not support.is_apple:
215+
# Test specific to Apple
206216
EXPECTED_SKIP.add('test_apple')
207217

218+
208219
if support.is_apple_mobile:
209220
# configure disables multiple extension modules on Apple mobile
210221
EXPECTED_SKIP |= {
@@ -220,6 +231,7 @@
220231
# configure disables _tkinter on Apple mobile
221232
EXPECTED_SKIP |= NEED_TKINTER
222233

234+
223235
if support.is_emscripten:
224236
# configure disables multiple extension modules on Emscripten
225237
EXPECTED_SKIP |= {
@@ -258,6 +270,7 @@
258270
# Missing Tcl/Tk dependency on Emscripten
259271
EXPECTED_SKIP |= NEED_TKINTER
260272

273+
261274
if support.is_android or support.is_apple_mobile or support.is_wasm32 or IS_WASI:
262275
EXPECTED_SKIP |= {
263276
# pty is not available on these platforms
@@ -266,6 +279,7 @@
266279
'test_venv',
267280
}
268281

282+
269283
if IS_WASI:
270284
# configure disables multiple extension modules on WASI
271285
EXPECTED_SKIP |= {

0 commit comments

Comments
 (0)