mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 05:34:46 +00:00
kata-ctl: Ensure GENERATED_CODE is a dep of make test
Otherwise `make test` will simply fail with: ``` error[E0583]: file not found for module `version` ``` Fixes: #7974 -- part 0 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
ec826f328f
commit
46daddc500
@ -52,7 +52,7 @@ clean:
|
||||
vendor:
|
||||
cargo vendor
|
||||
|
||||
test:
|
||||
test: $(GENERATED_CODE)
|
||||
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo test --target $(TRIPLE) $(if $(findstring release,$(BUILD_TYPE)),--release) $(EXTRA_RUSTFEATURES) -- --nocapture
|
||||
|
||||
install:
|
||||
|
Loading…
Reference in New Issue
Block a user