Skip to content

Conversation

@BCSharp
Copy link
Member

@BCSharp BCSharp commented Jan 28, 2025

Run test tasks sequenially in foreground if -jobs 0. The default did not change: it still runs all (up to the processor count) task groups in parallel jobs. -jobs 1 also runs all tasks sequentially, but because it is run as a PowerShell job, the test output is not real-time, but displayed in 10 sec intervals.

This change has two purposes:

  1. To be able to monitor the test progress in real-time, without the filter. This is useful when one or a small subset of tasks is run in a query, and especially useful if some tests that operate on stdin and std out misbehave.
  2. On some devcontainer systems, PowerShell's Start-Job does not work if not run by root. -jobs 0 avoids Start-Job altogether.

Copy link
Contributor

@slozier slozier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@BCSharp BCSharp merged commit f2ed788 into IronLanguages:main Jan 28, 2025
8 checks passed
@BCSharp BCSharp deleted the make_nojob branch January 28, 2025 22:11
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.

2 participants