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 <c.ebner@proxmox.com>
This commit is contained in:
parent
de61bc9264
commit
cc119edbe5
3
Makefile
3
Makefile
|
@ -47,8 +47,9 @@ $(SUBDIRS):
|
||||||
$(MAKE) -C $@
|
$(MAKE) -C $@
|
||||||
|
|
||||||
test:
|
test:
|
||||||
cargo test test_broadcast_future
|
#cargo test test_broadcast_future
|
||||||
#cargo test $(CARGO_BUILD_ARGS)
|
#cargo test $(CARGO_BUILD_ARGS)
|
||||||
|
cargo test $(tests) $(CARGO_BUILD_ARGS)
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
cargo doc --no-deps $(CARGO_BUILD_ARGS)
|
cargo doc --no-deps $(CARGO_BUILD_ARGS)
|
||||||
|
|
Loading…
Reference in New Issue