137 lines
3.9 KiB
YAML
137 lines
3.9 KiB
YAML
---
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
tests:
|
|
# Just check all the binaries can be executed:
|
|
- help:
|
|
dir: .
|
|
run: |
|
|
(
|
|
set -xve;
|
|
cache_check --help;
|
|
cache_dump --help;
|
|
cache_metadata_size --help;
|
|
cache_repair --help;
|
|
cache_restore --help;
|
|
cache_writeback --help;
|
|
era_check --help;
|
|
era_dump --help;
|
|
era_invalidate --help;
|
|
era_restore --help;
|
|
thin_check --help;
|
|
thin_delta --help;
|
|
thin_dump --help;
|
|
thin_ls --help;
|
|
thin_metadata_size --help;
|
|
thin_repair --help;
|
|
thin_restore --help;
|
|
thin_rmap --help;
|
|
thin_trim --help;
|
|
)
|
|
required_packages:
|
|
- device-mapper-persistent-data
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
# # 1minutetip works with this:
|
|
# - role: standard-test-source
|
|
# srcdir: "{{ playbook_dir }}/testsuite"
|
|
# tags:
|
|
# - classic
|
|
# # and jenkins pipeline?
|
|
# # - not this:
|
|
# - role: standard-test-source
|
|
# srcdir: "testsuite"
|
|
# tags:
|
|
# - classic
|
|
- role: standard-test-source
|
|
tags:
|
|
- classic
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
tests:
|
|
- testsuite_pre:
|
|
dir: source
|
|
run: |
|
|
(
|
|
set -xve;
|
|
autoconf;
|
|
./configure --with-optimisation= --enable-testing;
|
|
./get-gmock.sh;
|
|
cd googletest;
|
|
git checkout release-1.10.0 -b release-1.10.0-local;
|
|
cd ..;
|
|
make;
|
|
)
|
|
- testsuite:
|
|
dir: source
|
|
run: |
|
|
(
|
|
set -xve;
|
|
make unit-test;
|
|
)
|
|
- testsuite_post:
|
|
dir: .
|
|
run: |
|
|
set -xv;
|
|
true
|
|
required_packages:
|
|
- device-mapper-persistent-data
|
|
- autoconf
|
|
- expat-devel
|
|
- libaio-devel
|
|
- libstdc++-devel
|
|
- boost-devel
|
|
- gcc-c++
|
|
- autoconf
|
|
- make
|
|
- git # needed by get-gmock
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
repositories:
|
|
#- repo: git://pkgs.devel.redhat.com/tests/kernel
|
|
# dest: kernel
|
|
- repo: https://gitlab.cee.redhat.com/stqe/python-stqe.git
|
|
dest: python-stqe
|
|
version: 97a5aaae71da674e66394d2ce3fed2fe4d2bdf43
|
|
- repo: https://gitlab.com/rh-kernel-stqe/python-libsan.git
|
|
dest: python-libsan
|
|
#- repo: https://gitlab.cee.redhat.com/jkrysl/python-stqe.git
|
|
# dest: python-stqe
|
|
tests:
|
|
- update_pip:
|
|
dir: source
|
|
run: pip3 install -U pip
|
|
- libsan_install:
|
|
dir: python-libsan
|
|
run: pip3 install .
|
|
- stqe_install:
|
|
dir: python-stqe
|
|
run: pip3 install .
|
|
- stqe_thin:
|
|
dir: python-stqe
|
|
#run: stqe-test run -t lvm/device_mapper_persistent_data/thin.py
|
|
run: stqe-test run --fmf --path lvm/device_mapper_persistent_data/thin
|
|
#- stqe_cache:
|
|
# dir: python-stqe
|
|
# run: stqe-test run -t lvm/device_mapper_persistent_data/cache.py
|
|
#- stqe_restore_corrupting_metadata:
|
|
# dir: python-stqe
|
|
# run: stqe-test run -t lvm/device_mapper_persistent_data/restore_corrupting_metadata.py
|
|
- stqe_tools_not_linked_usr:
|
|
dir: python-stqe
|
|
run: stqe-test run -t lvm/device_mapper_persistent_data/tools_not_linked_usr.py
|
|
required_packages:
|
|
- device-mapper-persistent-data
|
|
- lvm2
|
|
- python3-netifaces
|
|
- augeas-libs
|