Skip to content

Fix smoke test harness arguments#138

Merged
tgross35 merged 1 commit into
rust-lang:masterfrom
Herrtian:smoke-ignore-harness-args
Jun 26, 2026
Merged

Fix smoke test harness arguments#138
tgross35 merged 1 commit into
rust-lang:masterfrom
Herrtian:smoke-ignore-harness-args

Conversation

@Herrtian

Copy link
Copy Markdown
Contributor

Fixes #113.

The smoke test now parses only its controlled program argument instead of the full test harness argv, so libtest flags such as --test-threads do not make the test fail.

Checked with:

  • cargo test --test smoke -- --test-threads 1 -q
  • cargo test
  • cargo test --no-default-features
  • cargo fmt --check

@tgross35 tgross35 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks!

@tgross35 tgross35 merged commit 4db96b5 into rust-lang:master Jun 26, 2026
9 checks passed
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.

test-threads option is unrecognised

2 participants