Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d95a6cf
Add support for --test-args to cargotest
jyn514 May 1, 2021
3b4b1ea
Don't check bootstrap artifacts by default
jyn514 May 1, 2021
50c3890
bump deps
klensy May 1, 2021
aa68ec2
Retry clang+llvm download
Mark-Simulacrum May 4, 2021
abdba81
use CheckInAllocMsg::PointerArithmeticTest for ptr_offset error
RalfJung May 5, 2021
bcf622b
32bit bless
RalfJung May 6, 2021
cdbfea5
Sort rustdoc-gui tests
GuillaumeGomez May 6, 2021
cb70221
Coverage instruments closure bodies in macros (not the macro body)
richkadel May 4, 2021
f58a362
Update coverage docs and command line help
richkadel May 3, 2021
8075b28
Renamed compiler-flags file to name of compiler-flag: instrument-cove…
richkadel May 6, 2021
cd3a8c1
Removes unneeded check of `#[no_coverage]` in mapgen
richkadel May 3, 2021
2d496f4
Rollup merge of #84779 - jyn514:cargotest-args, r=Mark-Simulacrum
JohnTitor May 7, 2021
1224e13
Rollup merge of #84781 - jyn514:check-bootstrap, r=Mark-Simulacrum
JohnTitor May 7, 2021
246e8d1
Rollup merge of #84787 - klensy:deps-bump, r=Mark-Simulacrum
JohnTitor May 7, 2021
283ef86
Rollup merge of #84815 - richkadel:coverage-docs-update-2021-05, r=tm…
JohnTitor May 7, 2021
b088318
Rollup merge of #84875 - richkadel:no-coverage-dont-check-unused, r=t…
JohnTitor May 7, 2021
343a094
Rollup merge of #84897 - richkadel:cover-closure-macros, r=tmandry
JohnTitor May 7, 2021
326fec2
Rollup merge of #84911 - Mark-Simulacrum:retry-clang, r=pietroalbini
JohnTitor May 7, 2021
4705027
Rollup merge of #84972 - RalfJung:null-ptr-msg, r=oli-obk
JohnTitor May 7, 2021
87faf2e
Rollup merge of #84990 - GuillaumeGomez:sort-rustdoc-gui-tests, r=Mar…
JohnTitor May 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ impl Step for Cargotest {
builder,
cmd.arg(&cargo)
.arg(&out_dir)
.args(builder.config.cmd.test_args())
.env("RUSTC", builder.rustc(compiler))
.env("RUSTDOC", builder.rustdoc(compiler)),
);
Expand Down
4 changes: 3 additions & 1 deletion src/tools/cargotest/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ fn main() {
let cargo = &Path::new(cargo);

for test in TEST_REPOS.iter().rev() {
test_repo(cargo, out_dir, test);
if args[3..].is_empty() || args[3..].iter().any(|s| s.contains(test.name)) {
test_repo(cargo, out_dir, test);
}
}
}

Expand Down