Commit Graph

317 Commits

Author SHA1 Message Date
Mark Mansi 43ca498a19 mention tidy bless 2020-02-20 10:28:24 -06:00
Mark Mansi f6291ab302 tidy runs rustfmt check 2020-02-20 10:28:24 -06:00
Mark Mansi 209fa47503 document ./x.py fmt 2020-02-20 10:28:24 -06:00
Laurențiu Nicola f2f3dfca5c Remove reference to run-pass tests 2019-12-03 19:37:21 -06:00
Hanif Bin Ariffin 5306b68e05 Couple of changes to code so that its safe
Specifically, `> $1` causes it to write into the file $1 if it exist
And `> ./x.py` is particularly bad because it overwrite the script with
empty spaces...
2019-11-26 17:18:04 -06:00
Mark Mansi 63156423fd some cleanup 2019-11-14 14:14:39 -06:00
PotHix ac9c6dc99d Update the "Testing infrastructure" section
The testing infrastructure was migrated from Travis and AppVeyor to
Azure Pipelines some time ago. This commit updates the documentation to
reflect this change.

Fixes #500.
2019-11-08 10:14:17 -06:00
Eric Huss 27f0854e6c Fix some broken fragment links. 2019-11-05 11:35:34 -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 a8b434de11 Document `--pass $mode` 2019-07-17 10:33:16 -05:00
Yuki Okushi 6cd76867e7 Update pass modes for ui tests (#380) 2019-07-04 14:39:45 +03:00
varkor c2c7085f77 Mention running tests for subdirectories 2019-05-15 09:38:51 -05:00
Denys Zariaiev 5ac9862f92 Add a note about `assembly` test suite. 2019-03-22 16:30:05 -05:00
Edd Barrett 0d5c72a88d Provide a Python example. 2018-12-03 12:07:30 -06:00
Edd Barrett 2da7be9ca0 Explain how to check if gdb supports Python. 2018-12-03 12:07:30 -06:00
Edd Barrett 15d8147eb2 Mention that tests need a Python-enabled gdb. 2018-12-03 12:07:30 -06: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
Rajkumar Natarajan e2d42fd84c issue-130 updated the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan 497925ada7 issue-130 incorporate the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan df96e80e0d issue-130 copy contents related x.py from rust-forge 2018-09-29 08:50:30 -05:00
Tom Tromey ddde77fd15 Document no-system-llvm 2018-09-28 13:00:41 -05:00
Mark Mansi 58981d7649 Fix all the links! 2018-09-21 15:54:25 -05:00
Mark Mansi 0ccae015cb Fix all the links to be relative for mdbook 2 2018-09-21 15:54:25 -05:00
Philipp Hansch 528783be87 Fix line lengths 2018-09-12 07:33:41 +02:00
Niko Matsakis ca8c8774ef wrap lines in `running.md` 2018-09-11 16:22:15 -04:00
Philipp Hansch bae1d4f2d3 Mention incremental compilation in testing chapter
The `--incremental` flag was only mentioned in [how_to_build_and_run] so
far. Faster testing means faster iteration and perhaps even more added
tests.

[how_to_build_and_run]: https://rust-lang-nursery.github.io/rustc-guide/how-to-build-and-run.html
2018-09-10 19:30:07 -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 a9001481e9 fix lacking spaces 2018-07-09 21:45:49 -05:00
mark 8a49eb7686 fix all the not-en-dashes 2018-07-09 21:45:49 -05:00
Niko Matsakis d3939fa152 Merge pull request #149 from rust-lang-nursery/mark-i-m-patch-1
clarify run-rustfix compiletest header
2018-06-10 16:10:37 -04:00
Mark Mansi 269dabd291 mention bless 2018-06-08 20:32:04 -05:00
Mark Mansi 35838c9f66 fix typo 2018-06-04 22:18:14 -05:00
Mark Mansi d7e1878094 tests dont need to pass 2018-06-04 22:18:14 -05:00
Mark cebc5d8598 long line 2018-06-04 22:18:14 -05:00
Mark 785006ad62 Address review feedback 2018-06-04 22:18:14 -05:00
Mark b931fde9f5 add more on crater + perf runs 2018-06-04 22:18:14 -05:00
Mark Mansi 262e0add0c add a bit about crater 2018-06-04 22:18:14 -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
Tomáš Gavenčiak c355768c91 Fix a typo 2018-03-27 20:03:56 +02:00
Tomáš Gavenčiak db6ecb92f9 Add info on test result caching 2018-03-27 11:36:14 -05:00
Alexander Regueiro b3d8fba198 Hard-wrapped lines that are too long. 2018-03-26 20:28:00 -05:00
Shanavas M d41933a95b fix typo 2018-03-10 10:50:26 -06:00
Eric Huss ca2bb760c4 Start documentation for test infrastructure.
CC #10
2018-02-25 15:47:48 -06:00
Eric Huss 7df929b7e1 Add some more information about the various tests that get run.
CC #10
2018-02-23 12:45:17 -06: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 bcf38b78a4 mention tidy 2018-02-17 10:51:29 -06:00
Niko Matsakis dbb6900498 fix typo 2018-02-17 10:51:29 -06:00
Niko Matsakis cec7fed1ad link to brson's blog post 2018-02-17 10:51:29 -06:00
Niko Matsakis 4680105b89 complete sentence 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