This commit is contained in:
Takao Fujiwara 2024-06-12 00:37:31 +09:00
parent 220ec51111
commit f14e0b41e1
7 changed files with 35 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

7
gating.yaml Normal file
View 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
View File

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

1
tests/main.fmt Normal file
View File

@ -0,0 +1 @@
contact: Takao Fujiwara <fujiwara@redhat.com>

View File

@ -0,0 +1,5 @@
[Test]
Type=session
Exec=echo "Succeed"
Output=TAP

View 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
View 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