Skip to content

Adapt tests for Windows compatibility#337

Open
GagaLP wants to merge 1 commit into
masterfrom
fix/windows-testing
Open

Adapt tests for Windows compatibility#337
GagaLP wants to merge 1 commit into
masterfrom
fix/windows-testing

Conversation

@GagaLP

@GagaLP GagaLP commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

This PR is a follow-up to PR #336 and fixes several tests to improve Windows support.

The changes affect task, command, and instruction graph printing tests as well as live_executor starvation/active-time tests:

  • The task, command, and instruction graph printing tests compare exact output strings, which depend on the iteration order of std::unordered_map. Since MSVC's standard library uses a different iteration order, these tests fail on Windows even though graph construction is correct. The tests are disabled for now until a more robust graph comparison method is available.
  • The live_executor starvation/active-time test tolerance is now platform-dependent, using 20ms on Windows (where the previous tolerance was too strict) and 10ms on other platforms, instead of increasing the tolerance globally.

@GagaLP
GagaLP requested a review from PeterTh July 14, 2026 16:05
@github-actions

Copy link
Copy Markdown

Check-perf-impact results: (ae6918621b46271c2f10d6eb978fe95d)

❓ No new benchmark data submitted. ❓
Please re-run the microbenchmarks and include the results if your commit could potentially affect performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant