about summary refs log tree commit diff
AgeCommit message (Expand)AuthorLines
2024-08-13Run fmtGuillaume Gomez-8/+11
2024-08-13Fix commands syntax in rustdoc-ui testsGuillaume Gomez-9/+9
2024-08-13Only keep "useful" code in `tests/rustdoc-ui/2024-doctests-checks.rs`Guillaume Gomez-24/+8
2024-08-13Add doctest to ensure that doctests with crate-level attributes are not part ...Guillaume Gomez-0/+34
2024-08-13Add more merged doctests testsGuillaume Gomez-0/+21
2024-08-13Improve documentation for internal doctest APIGuillaume Gomez-0/+13
2024-08-13Move `is_multiple_tests` argument into `RunnableDocTest`Guillaume Gomez-20/+12
2024-08-13Unify naming of `DocTest`Guillaume Gomez-42/+46
2024-08-13Don't special-case if there is only one merged doctestGuillaume Gomez-67/+43
2024-08-13Remove need for `unsafe` code in merged doctestsGuillaume Gomez-5/+10
2024-08-13Improve code readabilityGuillaume Gomez-5/+19
2024-08-13If there are crate attributes, we prevent doctest to be merged with othersGuillaume Gomez-27/+4
2024-08-13Rename `DocTest` into `DocTestBuilder`Guillaume Gomez-17/+22
2024-08-13Reduce merged doctest source code sizeGuillaume Gomez-25/+41
2024-08-13Run mergeable doctest as part of standalone doctests if there is only oneGuillaume Gomez-48/+70
2024-08-13Add documentation on `DocTest` and `RunnableDoctest` structsGuillaume Gomez-0/+3
2024-08-13Improve code by removing unneeded function argumentsGuillaume Gomez-24/+9
2024-08-13Add 2024 edition doctests to cover corner casesGuillaume Gomez-0/+55
2024-08-13Correctly handle macros using `$crate` in merged doctestsGuillaume Gomez-3/+14
2024-08-13Disable merged doctests by defaultGuillaume Gomez-2/+1
2024-08-13Only show rustdoc doctest compilation output if `nocapture` is usedGuillaume Gomez-3/+5
2024-08-13If no argument is provided to merged doctests binary, they will be run in the...Guillaume Gomez-6/+4
2024-08-13Correctly handle `internal_features` attributeGuillaume Gomez-1/+13
2024-08-13Mark location doctest as standalone since file information will not work in m...Guillaume Gomez-1/+1
2024-08-13Don't change indent in merged doctestsGuillaume Gomez-1/+1
2024-08-13Make merged doctests run in their own processGuillaume Gomez-17/+87
2024-08-13Fix weird memory allocation failure in merged doctests by storing doctest lis...Guillaume Gomez-8/+8
2024-08-13Don't merge doctests with `#[global_allocator]`Guillaume Gomez-75/+70
2024-08-13Greatly improve handling of doctests attributes, making it possible to merge ...Guillaume Gomez-52/+116
2024-08-13Simplify `has_main_fn` to be a boolean instead of a `Option<Span>`Guillaume Gomez-31/+37
2024-08-13Add new `run-make` tests for doctestsGuillaume Gomez-0/+171
2024-08-13Add/update `rustdoc-ui` tests to check new merged doctestsGuillaume Gomez-9/+42
2024-08-13Correctly handle doctests with invalid ASTGuillaume Gomez-9/+138
2024-08-13Correctly handle the case where there is no doctests to runGuillaume Gomez-1/+5
2024-08-13If there is any AST error with a doctest, we make it a standalone testGuillaume Gomez-88/+183
2024-08-13Prevent merged doctests to break stdin if the generated file is too bigGuillaume Gomez-17/+50
2024-08-13Add documentation for the doctest `standalone` attributeGuillaume Gomez-0/+51
2024-08-13Add new doc codeblock `standalone` attributeGuillaume Gomez-0/+7
2024-08-13Only merge doctests starting 2024 editionGuillaume Gomez-1/+5
2024-08-13Split doctests into two categories: mergeable ones and standalone onesGuillaume Gomez-62/+99
2024-08-13Split standalone and mergeable doctestsGuillaume Gomez-154/+440
2024-08-13Split doctests between standalone and mergeable onesGuillaume Gomez-29/+61
2024-08-13Simplify doctest testsGuillaume Gomez-27/+24
2024-08-13Add `DocTest` typeGuillaume Gomez-138/+190
2024-08-13Clean up rustdoc make_test function codeGuillaume Gomez-21/+21
2024-08-13Auto merge of #129046 - matthiaskrgr:rollup-9x4xgak, r=matthiaskrgrbors-365/+414
2024-08-13Rollup merge of #129040 - Zalathar:bless-rmake, r=jieyouxuMatthias Krüger-24/+31
2024-08-13Rollup merge of #129026 - rcvalle:rust-cfi-move-cfi-ui-tests-to-cfi-directory...Matthias Krüger-1/+1
2024-08-13Rollup merge of #128983 - Kobzol:bootstrap-target, r=onur-ozkanMatthias Krüger-70/+70
2024-08-13Rollup merge of #128841 - lqd:rustc-args, r=onur-ozkanMatthias Krüger-34/+24