From f69b08ea591b87edf9ef8d722d8661199b279bef Mon Sep 17 00:00:00 2001 From: Richard Alpe Date: Tue, 12 Sep 2023 10:42:41 +0200 Subject: [PATCH] test: add top level unit test suite This currently includes cli-pretty tests. It could be executed separately to clarify test results in github actions. This commit includes it in the main test execution. The most important thing is that it's executed. Signed-off-by: Richard Alpe --- board/x86_64/board.mk | 2 +- test/case/all-unit.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 test/case/all-unit.yaml diff --git a/board/x86_64/board.mk b/board/x86_64/board.mk index 8b47a1b8..0747b796 100644 --- a/board/x86_64/board.mk +++ b/board/x86_64/board.mk @@ -1,5 +1,5 @@ test-dir := $(BR2_EXTERNAL_INFIX_PATH)/test -INFIX_TESTS ?= $(test-dir)/case/all.yaml +INFIX_TESTS ?= $(test-dir)/case/all-unit.yaml $(test-dir)/case/all.yaml test-env = $(test-dir)/env \ -f $(BINARIES_DIR)/infix-x86_64.img \ diff --git a/test/case/all-unit.yaml b/test/case/all-unit.yaml new file mode 100644 index 00000000..31f44e43 --- /dev/null +++ b/test/case/all-unit.yaml @@ -0,0 +1,5 @@ +--- +# Tests in this suite can be run on localhost without a target environment + +- name: cli-pretty + suite: cli_pretty/all.yaml