From cc119edbe51bf860d3ba91baf252092599c7ac3a Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Tue, 21 May 2019 17:54:49 +0200 Subject: [PATCH] Makefile: Allow to pass parameter tests=pattern to make test `make test tests=pattern` will only run the subset of tests containing pattern, therefore allowing to specify which subset of tests to run. If the parameter is not specified, all tests are run. Signed-off-by: Christian Ebner --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 405e9ce9..d1486475 100644 --- a/Makefile +++ b/Makefile @@ -47,8 +47,9 @@ $(SUBDIRS): $(MAKE) -C $@ test: - cargo test test_broadcast_future + #cargo test test_broadcast_future #cargo test $(CARGO_BUILD_ARGS) + cargo test $(tests) $(CARGO_BUILD_ARGS) doc: cargo doc --no-deps $(CARGO_BUILD_ARGS)