Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -821,13 +821,14 @@ check for any problems that might arise.
To run the tests in a different mode, you need to pass the `--compare-mode` CLI flag:

```bash
./x test tests/ui --compare-mode=chalk
./x test tests/ui --compare-mode=next-solver
```

The possible compare modes are:

- `polonius` — Runs with Polonius with `-Zpolonius`.
- `chalk` — Runs with Chalk with `-Zchalk`.
- `polonius` — Runs with Polonius with `-Zpolonius=next`.
- `next-solver` — Runs with the next trait solver with `-Znext-solver`.
- `next-solver-coherence` — Runs coherence with the next trait solver with `-Znext-solver=coherence`.
- `split-dwarf` — Runs with unpacked split-DWARF with `-Csplit-debuginfo=unpacked`.
- `split-dwarf-single` — Runs with packed split-DWARF with `-Csplit-debuginfo=packed`.

Expand Down
3 changes: 2 additions & 1 deletion src/tests/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ Some examples of `X` in `ignore-X` or `only-X`:
- When particular debuggers are being tested: `cdb`, `gdb`, `lldb`
- When particular debugger versions are matched: `ignore-gdb-version`
- When the [parallel frontend] is enabled: `ignore-parallel-frontend`
- Specific [compare modes]: `compare-mode-polonius`, `compare-mode-chalk`,
- Specific [compare modes]: `compare-mode-polonius`,
`compare-mode-next-solver`, `compare-mode-next-solver-coherence`,
`compare-mode-split-dwarf`, `compare-mode-split-dwarf-single`
- The two different test modes used by coverage tests:
`ignore-coverage-map`, `ignore-coverage-run`
Expand Down
Loading