rust-lang / rust-lang/rust

[compiletest] support `known-bug` directive for more test suites

Open
#137,629 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-compiletest A-testsuite C-enhancement T-bootstrap T-rustdoc
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

currently, it is only supported for ui tests, but it would be nice to also have it for at least the following:

  • rustdoc
  • rustdoc-js
  • run-make
  • rustdoc-json

documentation for how known-bug works is sparse, so it's not entirely clear how it would interact with other test suites.

Contributor guide

Open the contributing guide

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 in compiletest support for the existing known-bug directive used by UI tests, then compare how the rustdoc, rustdoc-js, run-make, and rustdoc-json suites are configured. Read the sparse directive documentation and existing behavior first; done means the requested suites handle known-bug consistently, with its interactions with other suite behavior clarified and covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.