Skip to content

Fix the ninja test for console ctrl-c - #4909

Merged
bdbaddog merged 1 commit into
SCons:masterfrom
mwichmann:test/ninja_control_c
Sep 23, 2026
Merged

bdbaddog merged 1 commit into
SCons:masterfrom
mwichmann:test/ninja_control_c

Conversation

@mwichmann

Copy link
Copy Markdown
Collaborator

This test failed on MacOS and some Linux distros. Turns out the test was not accurately simulating a real ctrl-C from a terminal.

Test-only change, no changes to SCons code or docs.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

This test failed on MacOS and some Linux distros. Turns out the
test was not accurately simulating a real ctrl-C from a terminal.

Signed-off-by: Mats Wichmann <mats@linux.com>
@mwichmann mwichmann added the testsuite Things that only affect the SCons testing. Do not use just because a PR has tests. label Sep 23, 2026
@mwichmann

Copy link
Copy Markdown
Collaborator Author

Irritating to see CI tests fail, but they didn't fail on the test being fixed - this is now running and passing on MacOS; our CI doesn't exercise the non-Ubuntu Linux platforms that were also seeing problems.

@bdbaddog
bdbaddog merged commit 43bbc04 into SCons:master Sep 23, 2026
9 of 12 checks passed
@mwichmann mwichmann added this to the NextRelease milestone Sep 23, 2026
@mwichmann
mwichmann deleted the test/ninja_control_c branch September 23, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testsuite Things that only affect the SCons testing. Do not use just because a PR has tests.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants