-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emscripten: Get test suite passing #127146
Labels
Comments
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Nov 22, 2024
After this, Emscripten makes it all the way through the test suite when I run it locally.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Nov 22, 2024
After this, Emscripten makes it all the way through the test suite when I run it locally.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Nov 22, 2024
After this, Emscripten makes it all the way through the test suite when I run it locally.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Nov 23, 2024
After this, Emscripten makes it all the way through the test suite when I run it locally.
This upstream Emscripten PR fixes at least 13 test failures: |
The tests involving |
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Dec 3, 2024
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Dec 3, 2024
* Emscripten has_strftime_extensions * fma doesn't handle negative zero correctly in Emscripten * Emscripten has similar limited stack depth to wasi and apple in test_marshall
freakboy3742
pushed a commit
that referenced
this issue
Dec 4, 2024
Adjusts some Emscripten test exclusions regarding strftime, fma, and stack depth.
freakboy3742
pushed a commit
that referenced
this issue
Dec 5, 2024
Added skips for tests known to cause problems when running on Emscripten. These mostly relate to the limited stack depth on Emscripten.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Dec 11, 2024
This xfails two tests in the test_time suite. It also adjusts test_os to reflect the fact that in Emscripten file modification times in nanoseconds since the linux epoch get round tripped through a 53 bit integer so we only get 5 subsecond digits of precision.
freakboy3742
pushed a commit
that referenced
this issue
Dec 12, 2024
Disables two tests in the test_time suite, and adjusts test_os to reflect precision limits in Emscripten.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Dec 16, 2024
A lot of these skips are no longer necessary.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Dec 16, 2024
…PLATFORM `test_sysconfigdata_json` is failing. This doesn't entirely fix it but it moves the failure later -- before it doesn't even find the sysconfigdata file because of a descrepancy between what `uname()` returns and what `configure.ac` sets `_PYTHON_HOST_PLATFORM` to. After, there are some small differences.
freakboy3742
pushed a commit
that referenced
this issue
Dec 17, 2024
Removed test skips that are no longer required as a result of Emscripten updates.
freakboy3742
pushed a commit
that referenced
this issue
Dec 17, 2024
…RM (#127992) Modifies _PYTHON_HOST_PLATFORM to include the compiler version under Emscripten. The Emscripten compiler version is the platform version compatibility identifier.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Jan 6, 2025
The prefix is different when we build from when we run the test.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Jan 6, 2025
The prefix is different when we build from when we run the test.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Jan 6, 2025
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Jan 6, 2025
We should set the value of prefix and exec_prefix in the host from host_prefix and host_exec_prefix.
hoodmane
added a commit
to hoodmane/cpython
that referenced
this issue
Jan 6, 2025
`emcc -dumpversion` will sometimes say e.g., `4.0.0-git` but in this case uname does not include `-git` in the version string. Use cut to delete everything after the dash.
FFY00
pushed a commit
that referenced
this issue
Jan 6, 2025
freakboy3742
pushed a commit
that referenced
this issue
Jan 6, 2025
Marks some additional tests as skipped on Emscripten. Many of these skips can be reverted when the next Emscripten release is available.
freakboy3742
pushed a commit
that referenced
this issue
Jan 6, 2025
`emcc -dumpversion` will sometimes say e.g., `4.0.0-git` but in this case uname does not include `-git` in the version string. Use cut to delete everything after the dash.
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
…hon#127565) Adjusts some Emscripten test exclusions regarding strftime, fma, and stack depth.
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
…hon#127843) Disables two tests in the test_time suite, and adjusts test_os to reflect precision limits in Emscripten.
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
Removed test skips that are no longer required as a result of Emscripten updates.
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
…PLATFORM (python#127992) Modifies _PYTHON_HOST_PLATFORM to include the compiler version under Emscripten. The Emscripten compiler version is the platform version compatibility identifier.
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
…128557) `emcc -dumpversion` will sometimes say e.g., `4.0.0-git` but in this case uname does not include `-git` in the version string. Use cut to delete everything after the dash.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First I'd like to get the test suite to run all the way through, then to pass.
cc @freakboy3742
Linked PRs
Emscripten PRs:
/dev/null
emscripten-core/emscripten#22886Make readlink system call not resolve the link emscripten-core/emscripten#23000
Trying to create a directory in a file should return ENOTDIR not EPERM emscripten-core/emscripten#23025
Refactor lookupPath to avoid recursion. NFC emscripten-core/emscripten#23017
Fix path resolution for symlinks emscripten-core/emscripten#23072
Make readdir on /proc/self/fd work emscripten-core/emscripten#23073
Add nodefs readdir handling for directories that contain exotic entries emscripten-core/emscripten#22925
Make fstat work on file descriptor with no name emscripten-core/emscripten#23058
When opening broken symlink with O_CREAT, create file at target emscripten-core/emscripten#23002
JS file system: distinguish between atime, mtime, and ctime emscripten-core/emscripten#22998
Fix renaming a file on top of an existing file in memfs and nodefs emscripten-core/emscripten#23074
Handle trailing % in strftime emscripten-core/emscripten#23045
Add wcsftime from musl. NFC emscripten-core/emscripten#23061
Return EISDIR when trying to create a path ending in / with open emscripten-core/emscripten#23135
Fix
mkdir("a/b/..")
should returnEEXIST
emscripten-core/emscripten#23136Make open O_CREATE mode 0 work emscripten-core/emscripten#23137
Ensure the ino we give to readdir matches the ino we give to stat emscripten-core/emscripten#23139
Correctly handle calls setting timestamp to 0 emscripten-core/emscripten#23310
Raise ENOSYS if AT_SYMLINK_NOFOLLOW is used with chmod or chown in nodefs emscripten-core/emscripten#23307
Allow pipes to be stat'ed emscripten-core/emscripten#23306
The text was updated successfully, but these errors were encountered: