From a1e6d6131ddbce2f4682306478f2f761b9d9b0b1 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 30 Jan 2020 17:30:27 -0800 Subject: [PATCH] print flag now lets us control println output in test code --- server/src/db_io/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/src/db_io/Makefile b/server/src/db_io/Makefile index 4cd31e0..25b300f 100644 --- a/server/src/db_io/Makefile +++ b/server/src/db_io/Makefile @@ -1,5 +1,10 @@ + build: cargo build test: +ifdef print + cargo test -- --nocapture +else cargo test +endif