buildsys: run tests on entire workspace by default

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-07-07 12:15:21 +02:00
parent f8a74456cc
commit 314d360fcd

View File

@ -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