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
1 changed files with 3 additions and 1 deletions

View File

@ -71,6 +71,8 @@ DSC = rust-${PACKAGE}_${DEB_VERSION}.dsc
DESTDIR= DESTDIR=
tests ?= --workspace
all: cargo-build $(SUBDIRS) all: cargo-build $(SUBDIRS)
.PHONY: $(SUBDIRS) .PHONY: $(SUBDIRS)
@ -83,7 +85,7 @@ test:
$(CARGO) test $(tests) $(CARGO_BUILD_ARGS) $(CARGO) test $(tests) $(CARGO_BUILD_ARGS)
doc: doc:
$(CARGO) doc --no-deps $(CARGO_BUILD_ARGS) $(CARGO) doc --workspace --no-deps $(CARGO_BUILD_ARGS)
# always re-create this dir # always re-create this dir
.PHONY: build .PHONY: build