From 314d360fcd387f90d51420eff9a0ef0ecf4decb3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 7 Jul 2021 12:15:21 +0200 Subject: [PATCH] buildsys: run tests on entire workspace by default Signed-off-by: Wolfgang Bumiller --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 297f0819..e83b46dc 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,8 @@ DSC = rust-${PACKAGE}_${DEB_VERSION}.dsc DESTDIR= +tests ?= --workspace + all: cargo-build $(SUBDIRS) .PHONY: $(SUBDIRS) @@ -83,7 +85,7 @@ test: $(CARGO) test $(tests) $(CARGO_BUILD_ARGS) doc: - $(CARGO) doc --no-deps $(CARGO_BUILD_ARGS) + $(CARGO) doc --workspace --no-deps $(CARGO_BUILD_ARGS) # always re-create this dir .PHONY: build