Commit Graph

188 Commits

Author SHA1 Message Date
Joshua Nelson eeca3757b8
Update docs to match the new x.py defaults (#813) 2020-07-29 04:20:00 +09:00
Yuki Okushi 87b9ecf2bb Fix link for armhf-gnu Dockerfile 2020-07-04 13:06:27 -05:00
Eric Huss 689eca469d Update docs on using Docker images. 2020-07-04 12:44:57 -05:00
Eric Huss 4228f46777 Add some more detail on compiletest normalization. 2020-06-16 23:14:05 -05:00
Tomasz Miąsko 42520d3ca8 Document needs-* compiletest directives 2020-06-08 12:33:35 -05:00
Tom Eccles 8a5438b4b1 Document more //ignore-X test headers 2020-05-29 13:27:03 -05:00
Tom Eccles a6bace14e4 Document remote testing 2020-05-29 13:27:03 -05:00
Chris Simpkins c9850bb7d2 Update src/tests/adding.md
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-28 19:57:59 -05:00
Chris Simpkins 8ca0464e65 add documentation of UI test error annotation substring support 2020-05-28 19:57:59 -05:00
Chris Simpkins 6a54bc6dab
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 98e94be044 improve info regarding incremental a little 2020-05-01 09:18:42 -05:00
Ralf Jung f9b673309f
codegen tests: add link to LLVM FileCheck docs (#673) 2020-04-12 02:34:25 +09:00
Santiago Pastorino 27269235d3
Update some projects locations (#658) 2020-04-02 18:40:15 +02:00
mark 595f2f386c and a few more links 2020-03-31 15:43:14 -05:00
Santiago Pastorino 9263df7668 Fix line lengths 2020-03-17 12:16:02 -05:00
Santiago Pastorino 4215ea9f25 This is no longer true since rust#49219 2020-03-17 12:16:02 -05:00
Santiago Pastorino 7afd3c3eb1 Avoid as of this writing given that everything is as of this writing :) 2020-03-17 12:16:02 -05:00
Santiago Pastorino 831a8709c9 Rephrase where compiletest is located 2020-03-17 12:16:02 -05:00
Chris Simpkins 56cff94ce7
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?! cf476b2adc
typo (#599) 2020-03-04 01:41:36 +09:00
Yuki Okushi 692f81f35d Move bless section to running chapter 2020-02-27 11:10:14 -06:00
Mark Mansi 4b34444364 mention tidy bless 2020-02-20 10:28:24 -06:00
Mark Mansi 1938249be0 tidy runs rustfmt check 2020-02-20 10:28:24 -06:00
Mark Mansi 04832fa1be document ./x.py fmt 2020-02-20 10:28:24 -06:00
Laurențiu Nicola d0b93fd015 Remove reference to run-pass tests 2019-12-03 19:37:21 -06:00
Hanif Bin Ariffin d373bca885 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 fe8585a9b6 some cleanup 2019-11-14 14:14:39 -06:00
PotHix a7beb12a13 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 d3bfd4ad13 Fix some broken fragment links. 2019-11-05 11:35:34 -06:00
Mazdak Farrokhzad 02d96fdcd8 issues/issue-12345.rs is an anti-pattern (#456) 2019-10-01 08:39:48 -03:00
Tshepang Lekhonkhobe bfe0a08ea4 run-pass dir is gone (#409)
Fixes #405
2019-08-01 23:25:07 -03:00
Yuki Okushi fc18a79ef6 Document `--pass $mode` 2019-07-17 10:33:16 -05:00
Yuki Okushi 92f3f8e3b8 Update pass modes for ui tests (#380) 2019-07-04 14:39:45 +03:00
varkor 72bafaca4f Mention running tests for subdirectories 2019-05-15 09:38:51 -05:00
Denys Zariaiev 9df878f4b8 Add a note about `assembly` test suite. 2019-03-22 16:30:05 -05:00
Edd Barrett 87830ff034 Provide a Python example. 2018-12-03 12:07:30 -06:00
Edd Barrett 8f0eaf3961 Explain how to check if gdb supports Python. 2018-12-03 12:07:30 -06:00
Edd Barrett 0f5df93b13 Mention that tests need a Python-enabled gdb. 2018-12-03 12:07:30 -06:00
Aleksey Kladov 76be9f99d7 Remove reference to copyright comment
We don't need them anymore
2018-11-08 20:02:48 -06:00
Tom Tromey 351f75b4eb Document ignore-llvm-version
This documents the ignore-llvm-version directive.
2018-11-06 16:35:13 -06:00
Tom Tromey 34af41dddb 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 61cadd2097 issue-130 updated the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan 062e158a67 issue-130 incorporate the review comments 2018-09-29 08:50:30 -05:00
Rajkumar Natarajan 0f65024f26 issue-130 copy contents related x.py from rust-forge 2018-09-29 08:50:30 -05:00
Tom Tromey 8871bd77b9 Document no-system-llvm 2018-09-28 13:00:41 -05:00
Mark Mansi 9297caaac3 Fix all the links! 2018-09-21 15:54:25 -05:00
Mark Mansi 5ca9b3b326 Fix all the links to be relative for mdbook 2 2018-09-21 15:54:25 -05:00
Philipp Hansch 5ec3e1a620
Fix line lengths 2018-09-12 07:33:41 +02:00
Niko Matsakis b655878d2c wrap lines in `running.md` 2018-09-11 16:22:15 -04:00
Philipp Hansch 732dc4782e 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 ad03ec4ee8
Write in English 2018-09-07 11:47:56 +01:00
Dale Wijnand e731de5755
No copyright notices on new tests 2018-09-07 11:46:53 +01:00
Josh Triplett 1f8e117292 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 37141c0825 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 337c64e4d2 fix lacking spaces 2018-07-09 21:45:49 -05:00
mark 37a202cdba fix all the not-en-dashes 2018-07-09 21:45:49 -05:00
Niko Matsakis 6317149ca4
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 7681b6ccc4 mention bless 2018-06-08 20:32:04 -05:00
Mark Mansi 63eaf6b11c fix typo 2018-06-04 22:18:14 -05:00
Mark Mansi 390068501f tests dont need to pass 2018-06-04 22:18:14 -05:00
Mark 35780c196e long line 2018-06-04 22:18:14 -05:00
Mark eaa2cc1946 Address review feedback 2018-06-04 22:18:14 -05:00
Mark 8ee1d91c38 add more on crater + perf runs 2018-06-04 22:18:14 -05:00
Mark Mansi d0ad0c7bc1 add a bit about crater 2018-06-04 22:18:14 -05:00
Who? Me?! dab4531fdc
clarify run-rustfix compiletest header 2018-06-02 16:06:00 -05:00
Oliver Schneider 2d387350e2
Satisfy travis 2018-05-29 16:31:32 +02:00
Oliver Schneider 79ea4eeb14
Explain .fixed files 2018-05-29 15:37:24 +02:00
Oliver Schneider 1a25691cb4
Mention "run-rustfix" 2018-05-28 13:08:15 +02:00
Oliver Schneider 3d48815cf4
Fixes #141 2018-05-23 11:55:16 +02:00
Sunjay Varma 0dc0dddb79 Closing all <a> tags 2018-05-10 14:46:44 -05:00
Tomáš Gavenčiak 45cb1d368b 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 df6b73fb99 talk about `only-X` in compiletest 2018-04-10 20:44:29 -05:00
varkor 8889dcd15d Replace txt with text 2018-04-06 14:18:08 -05:00
varkor 43341c8894 Consolidate and fix code blocks 2018-04-06 14:18:08 -05:00
Tomáš Gavenčiak 4d5ad15ad4
Fix a typo 2018-03-27 20:03:56 +02:00
Tomáš Gavenčiak 36179fb741 Add info on test result caching 2018-03-27 11:36:14 -05:00
Alexander Regueiro e6acd30581 Hard-wrapped lines that are too long. 2018-03-26 20:28:00 -05:00
Shanavas M 5dfe4f26c5 fix typo 2018-03-10 10:50:26 -06:00
Eric Huss ae39f92b66 Start documentation for test infrastructure.
CC #10
2018-02-25 15:47:48 -06:00
Eric Huss bfcdce6604 Add some more information about the various tests that get run.
CC #10
2018-02-23 12:45:17 -06:00
Niko Matsakis 7f8364d6f9 correct links (mdbook seems to want them relative to the book root) 2018-02-17 10:51:29 -06:00
Niko Matsakis caea7ae5ad mention tidy 2018-02-17 10:51:29 -06:00
Niko Matsakis b502a6a3fc fix typo 2018-02-17 10:51:29 -06:00
Niko Matsakis 2e04d6444a link to brson's blog post 2018-02-17 10:51:29 -06:00
Niko Matsakis a8bdd52e56 complete sentence 2018-02-17 10:51:29 -06:00
Niko Matsakis 346cbab485 give some advice about which test suite to use 2018-02-17 10:51:29 -06:00
Niko Matsakis 8c657b1f88 add some notes on coding conventions and link to copyright notice 2018-02-17 10:51:29 -06:00
Niko Matsakis 58b67c21d6 document the test infrastructure 2018-02-17 10:51:29 -06:00