Skip to content

Commit

Permalink
test: add top level unit test suite
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rical committed Sep 12, 2023
1 parent ea4a187 commit bcddc00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion board/x86_64/board.mk
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
5 changes: 5 additions & 0 deletions test/case/all-unit.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bcddc00

Please sign in to comment.