mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 13:44:33 +00:00
runtime-rs:skip the test when the arch is s390x
github.com/kata-containers/tests#4986.To avoid returning an error when running the ci, we just skip the test if the arch is s390x Fixes: #4816 Signed-off-by: Zhongtao Hu <zhongtaohu.tim@linux.alibaba.com>
This commit is contained in:
parent
945e02227c
commit
389ae97020
@ -21,14 +21,19 @@ ARCH_DIR = arch
|
||||
ARCH_FILE_SUFFIX = -options.mk
|
||||
ARCH_FILE = $(ARCH_DIR)/$(ARCH)$(ARCH_FILE_SUFFIX)
|
||||
|
||||
|
||||
ifeq ($(ARCH), s390x)
|
||||
##TARGET default: build code
|
||||
default:
|
||||
@echo "s390x not support currently"
|
||||
exit 0
|
||||
test:
|
||||
@echo "s390x not support currently"
|
||||
exit 0
|
||||
else
|
||||
##TARGET default: build code
|
||||
default: runtime show-header
|
||||
#TARGET test: run cargo tests
|
||||
test:
|
||||
@cargo test --all --target $(TRIPLE) $(EXTRA_RUSTFEATURES) -- --nocapture
|
||||
endif
|
||||
|
||||
ifeq (,$(realpath $(ARCH_FILE)))
|
||||
@ -366,10 +371,6 @@ clean:
|
||||
vendor:
|
||||
@cargo vendor
|
||||
|
||||
#TARGET test: run cargo tests
|
||||
test:
|
||||
@cargo test --all --target $(TRIPLE) $(EXTRA_RUSTFEATURES) -- --nocapture
|
||||
|
||||
##TARGET check: run test
|
||||
check: $(GENERATED_FILES) standard_rust_check
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user