memkind/tests/tests.yml

39 lines
838 B
YAML
Raw Permalink Normal View History

---
- 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