From f2d2bbd2b99ed0f443b4d3c7649f192bf303c4a5 Mon Sep 17 00:00:00 2001 From: Yan Vugenfirer Date: Mon, 3 Aug 2020 17:21:37 +0300 Subject: [PATCH] Add dummy gating test defined in test.yml that uses external script - Resolves: rhbz#1738372 Signed-off-by: Yan Vugenfirer --- gating.yaml | 2 +- tests/scripts/run_tests.sh | 4 ++++ tests/tests.yml | 11 +++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 tests/scripts/run_tests.sh create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml index 856b4a3..d56d698 100644 --- a/gating.yaml +++ b/gating.yaml @@ -3,4 +3,4 @@ product_versions: - rhel-8 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule { test_case_name: manual.sst_virtualization.virtio-win.sanity } + - !PassingTestCaseRule { test_case_name: osci.brew-build.tier0.functional } diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100755 index 0000000..739d6b2 --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "Testing gating, let's fail" +exit 1 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..5826d18 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: scripts + run: ./run_tests.sh +