Skip to content

Conversation

@mwichmann
Copy link
Collaborator

Changes simplify runner's handling of file writes, as logging handles the concurrency issues in threaded execution.

Various global variables holding overall information and execution results are combined into a single dataclass.

Xml report generation is reworked.

A results summary is now emitted for all of console, logfile and xml output.

This does not change any SCons code itself, only the test runner - and a few tests, but only those that exist to test the test runner.

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

@mwichmann mwichmann added the testsuite Things that only affect the SCons testing. Do not use just because a PR has tests. label Jan 20, 2026
mwichmann added a commit to mwichmann/scons that referenced this pull request Jan 21, 2026
Various global variables holding overall information and execution
results are combined into a single dataclass.

This is an interim step towards a larger rework.
PR SCons#4819 will become the second part.

Signed-off-by: Mats Wichmann <mats@linux.com>
@mwichmann mwichmann mentioned this pull request Jan 21, 2026
3 tasks
Changes simplify runner's handling of file writes, as logging
handles the concurrency issues in threaded execution.

Various global variables holding overall information and execution results
are combined into a single dataclass (this was PR SCons#3820)

Xml report generation is reworked.

A results summary is now emitted for all of  console, logfile and
xml output.

Signed-off-by: Mats Wichmann <mats@linux.com>
@mwichmann mwichmann force-pushed the test/runtest-logging branch from ee7d03d to 9747390 Compare January 21, 2026 22:24
@bdbaddog bdbaddog merged commit 736e6b1 into SCons:master Jan 23, 2026
11 checks passed
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants