tikv/tikv

Disable test suites that contain no tests

Open

#4,391 创建于 2019年3月18日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Rust (15,922 star) (2,189 fork)batch import
component/build-timedifficulty/easyhelp wanted

描述

I haven't looked closely at this, but I'm hopeful that some compile time can be saved by not building empty test suites and doc test suites.

I think cargo has some ability to control which targets are built for testing. I hope it can control which are doc-tested.

So the task here is to find all of the empty test suites run by cargo test --all and disable them in Cargo.toml by setting either test = false or doctest = false. Then time cargo test --all --no-run before and after.

贡献者指南