5f9cbdaade
Resolves: rhbz#1969379 Signed-off-by: Chunyu Hu <chuhu@redhat.com>
39 lines
838 B
YAML
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
|