mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-22 21:49:41 +00:00
runk: Enable test for the agent built with standard-oci-runtime feature
This enables tests for the kata-agent for runk that is built with standard-oci-runtime feature in CI. Fixes: #4351 Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
This commit is contained in:
parent
6dbce7c3de
commit
c7b3941c96
@ -7,6 +7,7 @@ include ../../../utils.mk
|
|||||||
|
|
||||||
TARGET = runk
|
TARGET = runk
|
||||||
TARGET_PATH = target/$(TRIPLE)/$(BUILD_TYPE)/$(TARGET)
|
TARGET_PATH = target/$(TRIPLE)/$(BUILD_TYPE)/$(TARGET)
|
||||||
|
AGENT_SOURCE_PATH = ../../agent
|
||||||
|
|
||||||
# BINDIR is a directory for installing executable programs
|
# BINDIR is a directory for installing executable programs
|
||||||
BINDIR := /usr/local/bin
|
BINDIR := /usr/local/bin
|
||||||
@ -26,9 +27,14 @@ clean:
|
|||||||
vendor:
|
vendor:
|
||||||
cargo vendor
|
cargo vendor
|
||||||
|
|
||||||
test:
|
test: test-runk test-agent
|
||||||
|
|
||||||
|
test-runk:
|
||||||
cargo test --all --target $(TRIPLE) -- --nocapture
|
cargo test --all --target $(TRIPLE) -- --nocapture
|
||||||
|
|
||||||
|
test-agent:
|
||||||
|
make test -C $(AGENT_SOURCE_PATH) STANDARD_OCI_RUNTIME=yes
|
||||||
|
|
||||||
check: standard_rust_check
|
check: standard_rust_check
|
||||||
|
|
||||||
.PHONY: \
|
.PHONY: \
|
||||||
|
Loading…
Reference in New Issue
Block a user