Skip to content

Update testing - #225

Open
jonathanpallant wants to merge 3 commits into
mainfrom
update-testing
Open

jonathanpallant wants to merge 3 commits into
mainfrom
update-testing

Conversation

@jonathanpallant

Copy link
Copy Markdown
Contributor

Refactor the testing to ensure every RUSTFLAGS variant gets its own target directory.

Also runs the tests single-threaded to avoid racing on the compiled binaries.

Our binaries have the same name so you cannot do things multi-threaded otherwise one test is overwriting a binary that another test is using.
We want to do more testing with RUSTFLAGS. But changing that environment variable doesn't invalidate anything already compiled. So now we use a unique target directory per variant, and variants set the rustflags.

Also adds TEST_VERBOSE env var to enable verbose logging of command lines.
@jonathanpallant
jonathanpallant marked this pull request as ready for review September 11, 2026 10:14
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