Skip to content

Commit b73b5f7

Browse files
authored
Merge pull request #633 from henrywang/e2e_packit
test: rename tmt test log folder and rename tmt plan name
2 parents f15f650 + a5630ca commit b73b5f7

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ execute:
1818
discover:
1919
how: fmf
2020
test:
21-
- /build-tmt/build-image
21+
- /build-image
2222
finish:
2323
how: shell
2424
script:
25-
- cp -r /var/tmp/tmt/run-001 $TMT_PLAN_DATA
25+
# move tmt test log to tmt plan data folder
26+
# the tmt integration test log can be archived in testing farm artifacts
27+
- cp -r /var/tmp/tmt/run-001 $TMT_PLAN_DATA/test-tmt-log
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)