Skip to content

Fix smoke test harness arguments#138

Open
Herrtian wants to merge 1 commit into
rust-lang:masterfrom
Herrtian:smoke-ignore-harness-args
Open

Fix smoke test harness arguments#138
Herrtian wants to merge 1 commit into
rust-lang:masterfrom
Herrtian:smoke-ignore-harness-args

Conversation

@Herrtian

Copy link
Copy Markdown

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

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

1 participant