tikv/tikv

Disable test suites that contain no tests

开放

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

 (5 条评论) (0 个反应) (0 位负责人)Rust (2,189 个派生)batch import
component/build-timedifficulty/easyhelp wanted

仓库指标

星标
 (15,922 个星标)
PR 合并指标
 (平均合并 28天 9小时) (30 天内合并 68 个 PR)

描述

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.

贡献者指南