mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 06:34:03 +00:00
runtime-rs: Ensure static-checks-build is a dep of make test
Otherwise `make test` will simply fail with:
```
error[E0583]: file not found for module `config`
```
Fixes: #7974 -- part 0
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
(cherry picked from commit 08f2e5ae0b
)
This commit is contained in:
parent
d5d21f4cb4
commit
9e614ce466
@ -49,7 +49,7 @@ else
|
|||||||
##TARGET default: build code
|
##TARGET default: build code
|
||||||
default: runtime show-header
|
default: runtime show-header
|
||||||
##TARGET test: run cargo tests
|
##TARGET test: run cargo tests
|
||||||
test:
|
test: static-checks-build
|
||||||
@cargo test --all --target $(TRIPLE) $(EXTRA_RUSTFEATURES) -- --nocapture
|
@cargo test --all --target $(TRIPLE) $(EXTRA_RUSTFEATURES) -- --nocapture
|
||||||
install: install-runtime install-configs
|
install: install-runtime install-configs
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user