From 2338e751c40284fe49643767dd33be3230f63440 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 4 Jun 2019 11:23:55 +0530 Subject: Add 'make test' target, fix unit tests --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8dd4eba..bbc8b73 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,9 @@ help: $(info lint | run lints with clippy) $(info benchmark | just for fun, really) $(info profile | only on linux - run callgrind and annotate it) - $(info unit-tests | run all unit test) - $(info continuous-unit-tests | run all unit test whenever something changes) + $(info tests | run all tests) + $(info unit-tests | run all unit tests) + $(info continuous-unit-tests | run all unit tests whenever something changes) $(info journey-tests | run all stateless journey test) $(info continuous-journey-tests | run all stateless journey test whenever something changes) $(info -- Use docker for all dependencies - run make interactively from there ----------------) @@ -35,6 +36,8 @@ profile: target/release/dua benchmark: target/release/dua hyperfine '$<' +tests: unit-tests journey-tests + unit-tests: cargo test --test interactive -- cgit v1.2.3