mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-03 14:07:24 +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_SUFFIX = -options.mk
|
||||||
ARCH_FILE = $(ARCH_DIR)/$(ARCH)$(ARCH_FILE_SUFFIX)
|
ARCH_FILE = $(ARCH_DIR)/$(ARCH)$(ARCH_FILE_SUFFIX)
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(ARCH), s390x)
|
ifeq ($(ARCH), s390x)
|
||||||
##TARGET default: build code
|
|
||||||
default:
|
default:
|
||||||
@echo "s390x not support currently"
|
@echo "s390x not support currently"
|
||||||
exit 0
|
exit 0
|
||||||
|
test:
|
||||||
|
@echo "s390x not support currently"
|
||||||
|
exit 0
|
||||||
else
|
else
|
||||||
|
##TARGET default: build code
|
||||||
default: runtime show-header
|
default: runtime show-header
|
||||||
|
#TARGET test: run cargo tests
|
||||||
|
test:
|
||||||
|
@cargo test --all --target $(TRIPLE) $(EXTRA_RUSTFEATURES) -- --nocapture
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(realpath $(ARCH_FILE)))
|
ifeq (,$(realpath $(ARCH_FILE)))
|
||||||
@ -366,10 +371,6 @@ clean:
|
|||||||
vendor:
|
vendor:
|
||||||
@cargo vendor
|
@cargo vendor
|
||||||
|
|
||||||
#TARGET test: run cargo tests
|
|
||||||
test:
|
|
||||||
@cargo test --all --target $(TRIPLE) $(EXTRA_RUSTFEATURES) -- --nocapture
|
|
||||||
|
|
||||||
##TARGET check: run test
|
##TARGET check: run test
|
||||||
check: $(GENERATED_FILES) standard_rust_check
|
check: $(GENERATED_FILES) standard_rust_check
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user