diff options
| author | bors <bors@rust-lang.org> | 2018-04-19 11:13:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-19 11:13:10 +0000 |
| commit | 8a28d94ea1b6c19b7e1d41ef9b33ccb73951f654 (patch) | |
| tree | ca79b860528005be4f468f665f1270c1474241b0 /src/rustllvm/PassWrapper.cpp | |
| parent | 5fe6b58dfc5ef9bb5dbfba9cf74aa9293a33e7b2 (diff) | |
| parent | 33bcb4ed16b01abeaa762c99e452da82c9c6275f (diff) | |
| download | rust-8a28d94ea1b6c19b7e1d41ef9b33ccb73951f654.tar.gz rust-8a28d94ea1b6c19b7e1d41ef9b33ccb73951f654.zip | |
Auto merge of #49900 - pnkfelix:compare-mode-nll-followup-3, r=nikomatsakis
Add src/test/ui regression testing for NLL This PR changes `x.py test` so that when you are running the `ui` test suite, it will also always run `compiletest` in the new `--compare-mode=nll`, which just double-checks that when running under the experimental NLL mode, the output matches the `<source-name>.nll.stderr` file, if present. In order to reduce the chance of a developer revolt in response to this change, this PR also includes some changes to make the `--compare-mode=nll` more user-friendly: 1. It now generates nll-specific .stamp files, and uses them (so that repeated runs can reuse previously cached results). 2. Each line of terminal output distinguishes whether we are running under `--compare-mode=nll` by printing with the prefix `[ui (nll)]` instead of just the prefix `[ui]`. Subtask of rust-lang/rust#48879
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
