Repository navigation
ps2client: Run Linux protocol and Windows C smoke tests in CI - #33
Merged
Merged
Conversation
Run the full fake-PS2Link namespace integration suite in an isolated Linux job and add native C Windows command/UDP smoke checks, alongside the existing macOS/Linux C test matrix. Keep PS2 hardware out of CI and preserve existing release binaries.
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.
Goal
Extend CI beyond successful compilation and the portable C smoke tests, exercising as much of the existing protocol behavior as possible without physical PS2 hardware or Python.
Changes
tests/run-tests.shintegration suite inside privileged, isolated network namespaces. This checks handshakes, host-file I/O (including large reads), timeouts, disconnects, console output, retries and error exits.make checkC suites.Validation
make all check: passes C smoke, symbolizer, and fsclient test suites.bash -n tests/run-tests.shandgit diff --check: pass.Deliberate limits
Real PS2 behavior and IOP file-I/O internals cannot be executed by the host-side fake. This PR changes only ps2client's test/CI infrastructure, not ps2link itself.
Verified CI results
The dedicated Linux and Windows checks run on GitHub-hosted runners; physical PS2 execution remains intentionally outside this PR.