rust-lang / rust-lang/rustc-dev-guide

Running tests manually for check-pass?

Open
#1,318 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-compiletest A-test-suite E-hard I-terse T-bootstrap T-compiler
Dominant language
HTML
Stars
1.9k
Forks
613
Avg merge
17h 24m
Merged PRs (30d)
39

Description

https://rustc-dev-guide.rust-lang.org/tests/running.html#running-tests-manually explains how to run the tests manually. However, it does not explain how to do this for check-pass and build-pass tests. I assume for build-pass it might just be a regular rustc invocation, but how do I check-pass tests by hand? That would be quite good to know when evaluating whether check-pass is sufficient to reproduce a problem.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked “Running tests manually” section in the rustc-dev-guide and compare its existing instructions with the check-pass and build-pass test modes named in the issue. Document the manual commands or procedure for both cases, including how to determine whether check-pass reproduces a problem; the guide should let readers run and evaluate these tests without further clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.