Alexander Regueiro
10b6daa6c8
Reblessed tests.
2019-06-05 21:09:27 +01:00
Andy Russell
89d437ec76
do not print panic message on doctest failures
2019-05-22 13:27:53 -04:00
John Kåre Alsaker
a1f2dceaeb
Move edition
outside the hygiene lock and avoid accessing it
2019-05-21 18:17:05 +02:00
Andy Russell
a912664113
report fatal errors during doctest parsing
2019-04-24 00:03:53 -04:00
John Kåre Alsaker
51938c61f6
Make the rustc driver and interface demand driven
2019-03-10 04:49:45 +01:00
John Kåre Alsaker
23a51f91c9
Introduce rustc_interface and move some methods there
2019-02-28 19:30:31 +01:00
Oliver Middleton
ad09d7fc79
rustdoc: Don't modify library path for doctests
...
It shouldn't be needed anymore because doctests are no longer compiled with `prefer-dynamic`.
2019-01-20 10:14:26 +00:00
Wesley Norris
f5413cd1e2
Bless test.
...
Bless test, remove submodule, and fix book entry.
bless test again? maybe it'll work this time...
2019-01-17 17:49:29 -05:00
Wesley Norris
80ee94c1f8
Minor changes to wording and formatting.
2019-01-17 17:26:24 -05:00
Wesley Norris
22e97da30a
Bless test.
2019-01-17 17:26:24 -05:00
Igor Matuszewski
cc19a78ee8
Account for 2 removed lines in src/librustdoc/test.rs
2019-01-13 10:42:59 +01:00
Andy Russell
0a6fb84738
make panictry!
private to libsyntax
...
This commit completely removes usage of the `panictry!` macro from
outside libsyntax. The macro causes parse errors to be fatal, so using
it in libsyntax_ext caused parse failures *within* a syntax extension to
be fatal, which is probably not intended.
Furthermore, this commit adds spans to diagnostics emitted by empty
extensions if they were missing, à la #56491 .
2019-01-02 11:02:30 -05:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Daniel Silverstone
6057147fde
Update panic message to be clearer about env-vars
...
Esteban Kuber requested that the panic message make it clear
that `RUST_BACKTRACE=1` is an environment variable. This change
makes that clear. Wording provided in part by David Tolnay.
2018-12-13 23:07:04 +00:00
Alexander Regueiro
e14ff9bac6
Fixed line numbers in stderr file.
2018-12-07 23:53:34 +00:00
Matthew Russo
f0f8aa9e05
adds DocTest filename variant, refactors doctest_offset out of source_map, fixes remaining test failures
2018-12-04 19:52:42 -05:00
Eduard-Mihai Burtescu
7c166f54b2
Move Cargo.{toml,lock} to the repository root directory.
2018-11-22 12:10:04 +02:00
QuietMisdreavus
297cfea0ce
update rustdoc-ui/failed-doctest-output test
2018-11-02 17:17:02 -05:00
Josh Stone
f2443a9b20
Set RUST_BACKTRACE=0 for rustdoc-ui/failed-doctest-output.rs
...
This UI test is sensitive to backtrace output, so it should make sure
that backtraces are not enabled by the environment.
2018-10-23 15:38:31 -07:00
Alex Crichton
cbca688341
Update a rustdoc ui test whose output has changed
2018-10-09 15:03:25 -07:00
Mark Rousskov
0f680b38d0
Fixup test case
2018-07-31 17:55:12 -06:00
QuietMisdreavus
d3569d2da8
add failure-status to rustdoc doctest ui test
2018-07-20 10:13:38 -05:00
QuietMisdreavus
d965371d86
normalize test output so it can be run from repo root
2018-07-20 10:13:38 -05:00
QuietMisdreavus
ffbd2b931e
update stdout file with test path normalization
2018-07-20 10:13:38 -05:00
QuietMisdreavus
41e7ac16c4
report doctest compile failures correctly
2018-07-20 10:13:38 -05:00
QuietMisdreavus
33654195a1
add ui test for failing doctest
2018-07-20 10:13:38 -05:00