Add gating tests

Resolves: rhbz#1985096

Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
Bryan Gurney 2021-07-29 13:21:18 -04:00
parent 5621d671d8
commit 8b0945fc2c
3 changed files with 59 additions and 0 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

15
tests/run_test.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
cat <<EOF>./source/src/test/testconfig.sh
NON_PMEM_FS_DIR=/tmp
TEST_TYPE=medium
TEST_BUILD=nondebug
TEST_FS=non-pmem
TM=1
KEEP_GOING=y
CLEAN_FAILED=y
PMDK_LIB_PATH_NONDEBUG=/usr/lib64
EOF
cd source
make check

38
tests/tests.yml Normal file
View File

@ -0,0 +1,38 @@
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- daxio
- libpmem-devel
- libpmemblk-devel
- libpmemlog-devel
- libpmemobj-devel
- libpmempool-devel
- librpmem-devel
- libvmem-devel
- libvmmalloc-devel
- pmempool
- pmreorder
- ndctl-devel
- daxctl-devel
- libfabric-devel
- gcc
- make
- glibc-devel
- autoconf
- automake
- man
- pkgconfig
- doxygen
- gdb
- bc
tests:
- regression: # Run tests
dir: .
run: ./run_test.sh