From 47b8891e955ff0d2948d61ed2d6ab60a2efba8f9 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 19 Apr 2023 10:31:16 +0200 Subject: [PATCH] Backport gating tests from c9s Gating tests now enforce `osci.brew-build.tier0.functional` for c8s. Backport the gating test definition from c9s to c8s. Resolves: rhbz#2172416 --- .gitignore | 2 ++ tests/tests.yml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 79f93f4..12a763a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ SOURCES/cffi-1.11.5.tar.gz /cffi-1.11.5.tar.gz +/artifacts +/tests/artifacts diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..91aaa83 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,23 @@ +--- + +# 1minutetip --buildroot + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + + - role: standard-test-basic + required_packages: + - python3-cffi + - python3-pytest + - python3-devel + - gcc + tests: + - unittests: + dir: "source" + # cffi1 and test_version depend on files that are not packaged + run: >- + rm -rf cffi* testing/cffi0/test_version.py && + pytest-3 testing/cffi0