summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-03-10 12:43:40 (GMT)
committerGitHub <noreply@github.com>2022-03-10 12:43:40 (GMT)
commitde554d6e02228b840eb6bffaf7d406c0ef368d5f (patch)
tree8e9cb21338d5fa7b71a3940d6c62c501d0f547a8 /Tools
parent8714b6fa27271035dd6dd3514e283f92d669321d (diff)
downloadcpython-de554d6e02228b840eb6bffaf7d406c0ef368d5f.zip
cpython-de554d6e02228b840eb6bffaf7d406c0ef368d5f.tar.gz
cpython-de554d6e02228b840eb6bffaf7d406c0ef368d5f.tar.bz2
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.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/wasm/config.site-wasm32-emscripten6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tools/wasm/config.site-wasm32-emscripten b/Tools/wasm/config.site-wasm32-emscripten
index f85024e..5eaa793 100644
--- a/Tools/wasm/config.site-wasm32-emscripten
+++ b/Tools/wasm/config.site-wasm32-emscripten
@@ -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