chore(tests): skip tests relying on unsupported APIs on NX and PS platforms#1517
Merged
tustanivsky merged 2 commits intomasterfrom Feb 13, 2026
Merged
chore(tests): skip tests relying on unsupported APIs on NX and PS platforms#1517tustanivsky merged 2 commits intomasterfrom
tustanivsky merged 2 commits intomasterfrom
Conversation
jpnurmi
approved these changes
Feb 13, 2026
Collaborator
jpnurmi
left a comment
There was a problem hiding this comment.
Do we run integration tests on consoles? Will test_integration_cache.py (using os.utime) also create issues?
Collaborator
Author
No - to run integration tests on consoles we have a completely different setup that does not rely on the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumping
sentry-nativeto0.12.7for Switch and PlayStation introduced the following issues:The cache tests added in feat: offline caching (inproc & breakpad) #1490 and feat(crashpad): offline caching #1493 rely on
utime()to modify file timestamps. This POSIX function is not available in either the Nintendo Switch or PlayStation SDKs which causes build failures when compilingsentry_test_unitfor these platforms (see the linked Switch and PlayStation CI failures).A new
path_renametest exercisessentry__path_renamewhich ultimately callsrename()on Unix. The NX filesystem does not supportrename()so this test also fails on Switch.Key changes:
<utime.h>include andset_file_mtime()implementation with platform checks to avoid linker errorstest_cachetests on NX and PlayStation platforms whereutime()is unavailablepath_renametest on NX, following the same pattern already used for other NX-unsupported tests in that file#skip-changelog