summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-06-04 11:23:55 +0530
committerSebastian Thiel <sthiel@thoughtworks.com>2019-06-04 11:23:55 +0530
commit2338e751c40284fe49643767dd33be3230f63440 (patch)
treeb82332370892ed6942414c149fab91f61c6efde2 /Makefile
parent2022a51ce4960923fc5376d8d9b10185319c8c34 (diff)
Add 'make test' target, fix unit tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
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