memkind/tests/tests.yml
Chunyu Hu 5f9cbdaade Initial commit to enable RHEL-9 gating for memkind
Resolves: rhbz#1969379
Signed-off-by: Chunyu Hu <chuhu@redhat.com>
2021-06-09 16:37:06 +08:00

39 lines
838 B
YAML

---
- hosts: localhost
tags:
- classic
vars:
# standard-test-basic directory for tests are relative to {{ tenv_workdir }}
tenv_workdir: /var/str
pre_tasks:
- import_role:
name: standard-test-source
vars:
fetch_only: True
- name: Copy files including source to test environment
synchronize:
src: "{{ playbook_dir }}/.."
dest: "{{ tenv_workdir }}"
mode: push
ssh_args: "-o UserKnownHostsFile=/dev/null"
roles:
- role: standard-test-basic
required_packages:
- automake
- libtool
- numactl-devel
- systemd
- gcc
- gcc-c++
- make
- gawk
- python3
- rpm-build
tests:
- prepare-source:
dir: ./
run: ./memkind-prepsource.sh "{{tenv_workdir}}"
- memkind_test:
dir: ./
run: ./memkind-test.sh