Skip to content

Commit a5630ca

Browse files
committed
tmt: rename plan files: build.fmf to integration-build.fmf,
integration.fmf to integration-run.fmf And rename tmt test from build-tmt.fmf to build-image.fmf Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent 3b68e41 commit a5630ca

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

.packit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ jobs:
55
targets:
66
- fedora-40-x86_64
77
- fedora-40-aarch64
8-
tmt_plan: /build
8+
tmt_plan: /integration-build
99
skip_build: true
10-
identifier: tmt-integration-test
10+
identifier: integration-test

plans/build.fmf renamed to plans/integration-build.fmf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ execute:
1818
discover:
1919
how: fmf
2020
test:
21-
- /build-tmt/build-image
21+
- /build-image
2222
finish:
2323
how: shell
2424
script:
File renamed without changes.

tests-integration/build-image.fmf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
summary: build bootc and build qcow2 image
2+
test: cd .. && dnf -y builddep bootc && make test-tmt
3+
duration: 30m

tests-integration/build-tmt.fmf

Lines changed: 0 additions & 4 deletions
This file was deleted.

xtask/src/xtask.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fn man2markdown(sh: &Shell) -> Result<()> {
146146
#[context("test-integration")]
147147
fn test_tmt(sh: &Shell) -> Result<()> {
148148
cmd!(sh, "cargo run -p tests-integration run-vm prepare-tmt").run()?;
149-
cmd!(sh, "tmt run plans -n integration").run()?;
149+
cmd!(sh, "tmt run plans -n integration-run").run()?;
150150
Ok(())
151151
}
152152

0 commit comments

Comments
 (0)