Commit Graph

317 Commits

Author SHA1 Message Date
Lucas Kent 7b93c858f0 Fix compare-mode documentation 2021-11-14 17:01:35 -06:00
Eric Huss b4570015e5 Remove some legacy test suites. 2021-11-04 14:18:39 -05:00
Noah Lev b1f655d972 Update some date-check comments
I removed one of them because it doesn't seem necessary.
2021-11-04 09:33:03 -07:00
Tomasz Miąsko 84e40d7cbb Mention needs-sanitizer-hwaddress directive 2021-10-08 15:49:53 -05:00
Frank Steffahn d789b1c701 Trailing date comments in a line inside of a paragraph caused beginning of a new paragraph. (#1196)
This PR fixes the 2 occurrences of that.
(I'm not sure if there's an underlying issue with mdbook or if this is working as intended.)
2021-08-28 08:26:16 -03:00
Yuki Okushi 1373d5beed Document how to run unit tests (#1141) 2021-06-17 17:25:28 -03:00
Joshua Nelson fd97123fbc Add back example of {{cwd}} (#1099)
I force-pushed this in the last commit and accidentally deleted the
github suggestion.
2021-04-01 04:04:46 +09:00
Joshua Nelson ec260c8f5c Document test input normalization 2021-03-31 14:51:19 -04:00
Camelid 9539f6c271 Fix formatting of more date references (#1067) 2021-02-22 18:22:23 +09:00
Camelid 7f5a39d318 Update docs from date triage for 2021-02 (#1048)
The biggest change was updating the list of rustdoc passes. Several new
ones have been added since that documentation was written, so I added
those, and I also sorted the list so it is roughly alphabetical (except
for the part for the `strip-*` passes, which I left in the same order
since one of the list items has two passes so there's no "correct"
order).
2021-02-20 19:27:24 -08:00
bstrie 87b317f966 Update running.md 2021-02-17 17:13:07 -05:00
Camelid 6e02970f7f Add lots of date-check annotations
Also added dates for things that previously said "as of now" or "as of
this writing" and cleaned up a couple of things along the way.
2021-02-03 19:29:07 -05:00
Eric Huss f6e4a5f851 Update test suite descriptions. (#1042) 2021-01-30 20:12:01 +09:00
Iñaki Garay 7a80b01e01 Add mdbook-toc, markers, and documentation (#1028)
* Add mdbook-toc to travis, book.toml  and documentation

* Add toc markers

* Whitespace cleanup and some punctuation

* Addressed comments
2021-01-20 14:33:11 -03:00
Yuki Okushi 261ec50fa9 Add a note about UI test entry limitation (#1019) 2021-01-12 07:55:13 +09:00
Iñaki Garay cd437dc04f Add context to dated information (#1013)
* Fixes #924 Add context to dated information

* Fixes #924 Addressed comments and some uses of 'currently'

* Update src/contributing.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Update src/salsa.md

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

* Fixes #924 Addressed comments

* Fixes #924 Fixed line lengths.

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2021-01-10 19:23:22 -03:00
Sebastian Widua 1b4d37b32b Fix some typos 2021-01-04 10:02:33 -05: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
Ben Striegel 5661848ab9 Address feedback 2020-11-30 18:06:43 -05:00
Ben Striegel 680e35a172 Add notes about running the UI test suite 2020-11-30 18:06:43 -05:00
Yuki Okushi a6279510e2 Replace links to `buildbot2.r-l.o` with `bors.r-l.o` 2020-10-21 17:34:07 -04:00
Joshua Nelson 7609eb11ee Don't recommend building the compiler for running tests on the standard library (#887)
Thought of this while reading https://internals.rust-lang.org/t/contributing-changes-to-std/12829/.
2020-09-23 15:46:43 +00: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 9c351189e9 Adjust mentions about CI to GitHub Actions 2020-08-02 08:38:26 -05:00
Yuki Okushi 68a2b034c5 Rename `src/libstd` to `library/std` etc. (#815) 2020-07-30 22:47:22 +09:00
Joshua Nelson 879ca582de Update docs to match the new x.py defaults (#813) 2020-07-29 04:20:00 +09:00
Yuki Okushi 85b8077831 Fix link for armhf-gnu Dockerfile 2020-07-04 13:06:27 -05:00
Eric Huss 401d0bf12b Update docs on using Docker images. 2020-07-04 12:44:57 -05: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
Tom Eccles d56a31f73c Document remote testing 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
Tshepang Lekhonkhobe 5aad3d043d improve info regarding incremental a little 2020-05-01 09:18:42 -05:00
Ralf Jung 61f246ef7c codegen tests: add link to LLVM FileCheck docs (#673) 2020-04-12 02:34:25 +09:00
Santiago Pastorino 0a31a71b7d Update some projects locations (#658) 2020-04-02 18:40:15 +02:00
mark 4589ebf70e and a few more links 2020-03-31 15:43:14 -05:00
Santiago Pastorino 9c853c9a23 Fix line lengths 2020-03-17 12:16:02 -05:00
Santiago Pastorino 464f90bd19 This is no longer true since rust#49219 2020-03-17 12:16:02 -05:00
Santiago Pastorino 9015b33c7e Avoid as of this writing given that everything is as of this writing :) 2020-03-17 12:16:02 -05:00
Santiago Pastorino 028660b6c0 Rephrase where compiletest is located 2020-03-17 12:16:02 -05:00
Chris Simpkins 3524cac4b4 Update ./x.py tidy testing documentation (#607)
* update all docs to use ./x.py test tidy syntax
2020-03-10 12:02:24 +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
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