forked from containers/bootc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Split up tmt tests into separate plans
Because tmt right now doesn't support isolation automatically, and many of the tests we'll want to write mutate the system, we'll need to copy-paste the base plan. This changes the `make test-tmt` to have its own little tmt wrapper that dynamically scans the plans/ and sorts them by a priority, then runs them one by one currently. Closes: containers#735 Signed-off-by: Colin Walters <[email protected]>
- Loading branch information
Showing
7 changed files
with
59 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
provision: | ||
how: virtual | ||
# Generated by make test-tmt | ||
image: file://./target/testvm/disk.qcow2 | ||
disk: 20 | ||
summary: Execute local upgrade tests | ||
execute: | ||
how: tmt | ||
# We avoid writing nontrivial shell script as a general rule, | ||
# so this is written in nu. | ||
script: exec nu tests/booted/test-image-pushpull-upgrade.nu |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../tap.nu |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters