Skip to content

Commit

Permalink
tests: Switch to a VM-based test harness
Browse files Browse the repository at this point in the history
This allows us to further control the test environment and write more
involved tests.

Signed-off-by: Alberto Faria <[email protected]>
  • Loading branch information
albertofaria committed Apr 15, 2024
1 parent 4074473 commit a9d2204
Show file tree
Hide file tree
Showing 12 changed files with 638 additions and 221 deletions.
2 changes: 0 additions & 2 deletions .config/nextest.toml

This file was deleted.

4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ uninstall:

#.PHONY: unit
unit: $(CARGO_TARGET_DIR)
$(SHELL) test.sh podman
$(SHELL) tests/env.sh build
$(SHELL) tests/env.sh start
$(SHELL) tests/env.sh run all all

#.PHONY: code_coverage
code_coverage: $(CARGO_TARGET_DIR)
Expand Down
1 change: 0 additions & 1 deletion plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ prepare:
execute:
how: tmt
script: |
cargo install nextest
PATH=$PATH:/root/.cargo/bin make unit

/validate_test:
Expand Down
53 changes: 0 additions & 53 deletions test.sh

This file was deleted.

Loading

0 comments on commit a9d2204

Please sign in to comment.