Commit Graph

44 Commits

Author SHA1 Message Date
Yuki Okushi 261ec50fa9 Add a note about UI test entry limitation (#1019) 2021-01-12 07:55:13 +09:00
Iñaki Garay 7268945c0f rustc invocation standarized (#992)
* rustc invocation standarized

* Addressed comments

* Addressed comments

* Addressed comments

* Updated command output
2020-12-28 23:34:51 +01:00
Yuki Okushi cb0b7b64ee Document `error-pattern` header (#989)
* Document `error-pattern` header

* Address some reviews
2020-12-12 16:06:30 +01:00
Joshua Nelson 9c5e356ed5 Improve instructions for adding a new test (#881)
* Improve instructions for adding a new test

- Add a section for library tests
- Expand section on rustdoc tests

* Address review comments

- Say what should be considered a library test
- Mention adding error numbers to doc tests
- Link to #ui section
- Line wrapping

* Fix incorrect link

It shouldn't have been a link in the first place.

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-09-19 23:40:17 +00:00
Joshua Nelson 7e42258f16 Address nits 2020-09-12 13:12:14 -05:00
Joshua Nelson 01c34848a3 Note that the default is 2015 2020-09-12 13:12:14 -05:00
Joshua Nelson 71853f5a5c Document edition flag for UI tests 2020-09-12 13:12:14 -05:00
Yuki Okushi 68a2b034c5 Rename `src/libstd` to `library/std` etc. (#815) 2020-07-30 22:47:22 +09:00
Eric Huss 6d921020b6 Add some more detail on compiletest normalization. 2020-06-16 23:14:05 -05:00
Tomasz Miąsko df23757b09 Document needs-* compiletest directives 2020-06-08 12:33:35 -05:00
Tom Eccles 01f01823ed Document more //ignore-X test headers 2020-05-29 13:27:03 -05:00
Chris Simpkins 1036ac82ed Update src/tests/adding.md
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-28 19:57:59 -05:00
Chris Simpkins 154e750ec5 add documentation of UI test error annotation substring support 2020-05-28 19:57:59 -05:00
Chris Simpkins f086b737ef Expand error annotations section with examples (#724)
* expand error annotations section with examples

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-29 02:43:22 +09:00
Who? Me?! b99990cbe7 typo (#599) 2020-03-04 01:41:36 +09:00
Yuki Okushi 47b5a863ac Move bless section to running chapter 2020-02-27 11:10:14 -06:00
Mazdak Farrokhzad 544d2326bc issues/issue-12345.rs is an anti-pattern (#456) 2019-10-01 08:39:48 -03:00
Tshepang Lekhonkhobe dcf77e10b3 run-pass dir is gone (#409)
Fixes #405
2019-08-01 23:25:07 -03:00
Yuki Okushi 6cd76867e7 Update pass modes for ui tests (#380) 2019-07-04 14:39:45 +03:00
Aleksey Kladov 69554f57e1 Remove reference to copyright comment
We don't need them anymore
2018-11-08 20:02:48 -06:00
Tom Tromey 60c7a824e1 Document ignore-llvm-version
This documents the ignore-llvm-version directive.
2018-11-06 16:35:13 -06:00
Tom Tromey 9421be7566 Document the rust-lldb directive
Commit ac33b2e578de58016271012452e4f1be6af9d516 added a `rust-lldb`
directive to restrict the lldb part of a debuginfo test to only
versions of lldb that include the Rust plugin.
2018-10-26 18:23:38 -05:00
Tom Tromey ddde77fd15 Document no-system-llvm 2018-09-28 13:00:41 -05:00
Dale Wijnand f20f0c396b Write in English 2018-09-07 11:47:56 +01:00
Dale Wijnand f393341f79 No copyright notices on new tests 2018-09-07 11:46:53 +01:00
Josh Triplett 45482cb170 Update copyright guidance to omit notices for new files.
Previously approved in https://github.com/rust-lang/rust/pull/43498 ;
update the guide to match.
2018-08-20 11:08:22 -05:00
Tom Tromey a2d8adadb1 Update compiler test documentation
Update the compiler test documentation to document ignore-gdb-version
and min-system-llvm-version; and expand the min-gdb-version,
min-lldb-version, and min-llvm-version documentation a little.
2018-08-09 09:15:01 -06:00
mark 8a49eb7686 fix all the not-en-dashes 2018-07-09 21:45:49 -05:00
Mark Mansi 269dabd291 mention bless 2018-06-08 20:32:04 -05:00
Who? Me?! 659bde0203 clarify run-rustfix compiletest header 2018-06-02 16:06:00 -05:00
Oliver Schneider 053060c442 Satisfy travis 2018-05-29 16:31:32 +02:00
Oliver Schneider 86f694c1d4 Explain .fixed files 2018-05-29 15:37:24 +02:00
Oliver Schneider e25515fa7c Mention "run-rustfix" 2018-05-28 13:08:15 +02:00
Oliver Schneider 4412b726d2 Fixes #141 2018-05-23 11:55:16 +02:00
Sunjay Varma 5f01a3b60b Closing all <a> tags 2018-05-10 14:46:44 -05:00
Tomáš Gavenčiak b0ac5ffedc Update adding.md
Rename `must-compile-successfully` to `compile-pass` in ui test doc as per https://github.com/rust-lang/rust/issues/49568.
2018-05-10 13:18:30 -05:00
QuietMisdreavus 0dfbdb8c86 talk about `only-X` in compiletest 2018-04-10 20:44:29 -05:00
varkor c6b3ce0c96 Replace txt with text 2018-04-06 14:18:08 -05:00
varkor ad35712ddc Consolidate and fix code blocks 2018-04-06 14:18:08 -05:00
Alexander Regueiro b3d8fba198 Hard-wrapped lines that are too long. 2018-03-26 20:28:00 -05:00
Niko Matsakis 8605464d3b correct links (mdbook seems to want them relative to the book root) 2018-02-17 10:51:29 -06:00
Niko Matsakis e34e22bc5b give some advice about which test suite to use 2018-02-17 10:51:29 -06:00
Niko Matsakis e2a7f6f3ad add some notes on coding conventions and link to copyright notice 2018-02-17 10:51:29 -06:00
Niko Matsakis 228ecd29a8 document the test infrastructure 2018-02-17 10:51:29 -06:00