Add CI
This commit is contained in:
parent
220ec51111
commit
f14e0b41e1
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
# this is the testcase identifier, which OSCI pipeline uses
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
5
plans/test.fmf
Normal file
5
plans/test.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
1
tests/main.fmt
Normal file
1
tests/main.fmt
Normal file
@ -0,0 +1 @@
|
|||||||
|
contact: Takao Fujiwara <fujiwara@redhat.com>
|
5
tests/test-example/installed-tests/app1/echo.test
Normal file
5
tests/test-example/installed-tests/app1/echo.test
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Test]
|
||||||
|
Type=session
|
||||||
|
Exec=echo "Succeed"
|
||||||
|
Output=TAP
|
||||||
|
|
6
tests/test-example/main.fmf
Normal file
6
tests/test-example/main.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
summary: gnome-desktop-testing tests
|
||||||
|
test: ./test.sh
|
||||||
|
framework: beakerlib
|
||||||
|
require:
|
||||||
|
- git
|
||||||
|
- gnome-desktop-testing
|
10
tests/test-example/test.sh
Executable file
10
tests/test-example/test.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlRun "export XDG_DATA_DIRS=$PWD"
|
||||||
|
rlRun -t "gnome-desktop-testing-runner app1" 0
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalEnd
|
Loading…
Reference in New Issue
Block a user