mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-40280: Skip more tests/features that don't apply to Emscripten (GH-31791)
- fd inheritance can't be modified because Emscripten doesn't support subprocesses anyway. - setpriority always fails - geteuid no longer causes problems with latest emsdk - umask is a stub - geteuid / getuid always return 0, but process cannot chown to random uid.
This commit is contained in:
parent
8714b6fa27
commit
de554d6e02
6 changed files with 28 additions and 9 deletions
|
@ -62,6 +62,7 @@ ac_cv_func_pwritev2=no
|
|||
ac_cv_func_pwritev=no
|
||||
ac_cv_func_pipe2=no
|
||||
ac_cv_func_nice=no
|
||||
ac_cv_func_setpriority=no
|
||||
ac_cv_func_setitimer=no
|
||||
# unsupported syscall: __syscall_prlimit64
|
||||
ac_cv_func_prlimit=no
|
||||
|
@ -92,11 +93,6 @@ ac_cv_func_setgroups=no
|
|||
ac_cv_func_setresuid=no
|
||||
ac_cv_func_setresgid=no
|
||||
|
||||
# Emscripten geteuid() / getegid() always return 0 (root), which breaks
|
||||
# assumption in tarfile module and some tests.
|
||||
ac_cv_func_getegid=no
|
||||
ac_cv_func_geteuid=no
|
||||
|
||||
# Emscripten does not support hard links, always fails with errno 34
|
||||
# "Too many links". See emscripten_syscall_stubs.c
|
||||
ac_cv_func_link=no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue