From a147009dcdaba18617ad6cd52a286ed617e9d3c7 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 18 Jan 2019 11:34:41 +0100 Subject: [PATCH] Mention `cargo test --lib` --- blog/content/second-edition/posts/05-integration-tests/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/05-integration-tests/index.md b/blog/content/second-edition/posts/05-integration-tests/index.md index 23baa152..de9e3f00 100644 --- a/blog/content/second-edition/posts/05-integration-tests/index.md +++ b/blog/content/second-edition/posts/05-integration-tests/index.md @@ -410,7 +410,7 @@ fn panic(info: &PanicInfo) -> ! { } ``` -So we move everything except `_start` and `panic` to `lib.rs` and make the `vga_buffer` and `serial` modules public. Everything should work exactly as before, including `bootimage run` and `cargo test`. +So we move everything except `_start` and `panic` to `lib.rs` and make the `vga_buffer` and `serial` modules public. Everything should work exactly as before, including `bootimage run` and `cargo test`. To run tests only for the library part of our crate and avoid the additional output we can execute `cargo test --lib`. ### Test Basic Boot