From 392be91066a1722070ccbf8b5e5c0decd07677cf Mon Sep 17 00:00:00 2001 From: Vendula Poncova Date: Mon, 9 Aug 2021 14:13:30 +0200 Subject: [PATCH] Add smoke tests Related: rhbz#1978701 --- gating.yaml | 1 + tests/tests.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml index 4124226..49ec2f1 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,4 +3,5 @@ product_versions: - rhel-9 decision_context: osci_compose_gate rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..4618723 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,16 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - x3270 + - xorg-x11-server-Xvfb + tests: + - version_test: + dir: . + run: x3270 --version + - smoke_test: + dir: . + run: echo -e 'Wait(3, seconds)\nQuit()' | xvfb-run -s '-screen 0 640x480x8 -extension RANDR' x3270 -script +