re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 13:49:34 +02:00
parent 131773f373
commit e9609fa0c2
3 changed files with 146 additions and 4 deletions

12
.gitignore vendored
View File

@ -1,4 +1,10 @@
SOURCES/dmpd090-vendor3.tar.gz
SOURCES/v0.9.0.tar.gz
/dmpd090-vendor3.tar.gz
/thin-provisioning-tools-0.7.0-rc6.tar.gz
/v0.7.6.tar.gz
/v0.8.2.tar.gz
/v0.8.3.tar.gz
/v0.8.5.tar.gz
/v0.9.0-rc2.tar.gz
/device-mapper-persistent-data-0.9.0-rc2-vendor.tar.gz
/dmpd090-vendor2.tar.gz
/v0.9.0.tar.gz
/dmpd090-vendor3.tar.gz

View File

@ -1,2 +1,2 @@
SHA512 (dmpd090-vendor3.tar.gz) = 90891c377a27695b20ce260852260d4fe08f3db6dba99401e56f2643a7ec94115c33e9c84b54188845acfde855e682c9b91c72dec3554effeade226b1df3303e
SHA512 (v0.9.0.tar.gz) = e1796fb3948847d72ca8247cae58017507c0a847a00201b93668eeb8fbfea4107c4c2affa5c211c149798a89b10474e83d2bd61a5545a668299be97aed591e0f
SHA512 (dmpd090-vendor3.tar.gz) = 90891c377a27695b20ce260852260d4fe08f3db6dba99401e56f2643a7ec94115c33e9c84b54188845acfde855e682c9b91c72dec3554effeade226b1df3303e

136
tests/tests.yml Normal file
View File

@ -0,0 +1,136 @@
---
- 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