Skip to content

Commit

Permalink
ci: run old testsuite by testing farm
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Jan 26, 2024
1 parent 6f198ce commit 1ae530f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions testing-farm/plans/old-testsuite.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
summary: run the old testsuite in Fedora Testing Farm
discover:
- how: fmf
filter: "tag: old_testsuite"

prepare:
- how: ansible
playbook: mock/integration-tests/setup-playbook/play-tf.yml

execute:
- how: tmt
10 changes: 10 additions & 0 deletions testing-farm/tests/old-testsuite/main.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
summary: Execute the old testsuite started wit make
test: ./test.sh
tag: old_testsuite
duration: 2h

require:
- type: file
# copy-paste the whole directory
pattern: /
5 changes: 5 additions & 0 deletions testing-farm/tests/old-testsuite/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh -eux

cd ../../../mock
install-mock-packages-built-by-packit mock-core-configs mock
make check 2>&1 | tee the-log | grep -e ^PASS -e ^FAIL -e ^ERROR

0 comments on commit 1ae530f

Please sign in to comment.