Repository navigation
test(libkernel): run guest_directory_entries on Windows - #5505
Closed
simonbronk wants to merge 1 commit into
Closed
simonbronk wants to merge 1 commit into
simonbronk wants to merge 1 commit into
Conversation
11 tasks done
Collaborator
|
Closing: this test fails on Windows on current Feel free to reopen once those fixes are merged to |
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.
What
guest_directory_entries(GuestDirectoryEntries.cpp:sceKernelGetdirentries/getdirentriesrecord layout andbasep,getdentserrors,pread/pwriteoffsets) was registered only off Windows, so the Windows directory path had no coverage from it. This registers it on every platform, withconfigure_windows_unwindand the libkernelPATHentry on Windows, as the other Windows libkernel tests have. No library code changes.On current
mainit fails on Windows for two bugs that open PRs fix, so it depends on both:basepis 0 on every call: fix(libkernel): report getdirentries basep position #5253 (libkernel: Windows getdirentries stores 0 in basep instead of the read offset (FreeBSD stores it only on success); fix branch ready #5237);getdentson a closed descriptor does not fail withEBADF: fix(libkernel): fail getdents on a descriptor that is not open with EBADF #4999.Tested
Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, full build, on
maincf5f5b53b:guest_directory_entriesfails at line 81 (exit 0xc0000409), as expected.guest_directory_entriesandguest_directory_bufferpass 20/20 (--repeat until-fail:20); fullctest1100/1100. fix(libkernel): report getdirentries basep position #5253 needed itsgetdirentries_nid_postfixdeclaration inGuestDirectoryBuffer.cpprestored to build here (noted on fix(libkernel): report getdirentries basep position #5253).configure_windows_unwind.tools/check_conventions.py --base upstream/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)