URL for discovery removed: With the URL pointed to the upstream repository the source RPM is taken from the c10s branch and any patches included in the MR are not applied when extracting tests. Added missing ci.fmf after migration to TMT
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
summary: libblockdev gating tests
|
|
|
|
prepare:
|
|
how: install
|
|
package:
|
|
- cryptsetup
|
|
- device-mapper-multipath
|
|
- dosfstools
|
|
- e2fsprogs
|
|
- glibc-all-langpacks
|
|
- lvm2-dbusd
|
|
- mdadm
|
|
- ndctl
|
|
- nss-tools
|
|
- nvme-cli
|
|
- nvmetcli
|
|
- python3-bytesize
|
|
- python3-dbus
|
|
- python3-packaging
|
|
- python3-yaml
|
|
- smartmontools
|
|
- targetcli
|
|
- vdo
|
|
- volume_key
|
|
- xfsprogs
|
|
|
|
discover:
|
|
how: shell
|
|
dist-git-source: true
|
|
dist-git-install-builddeps: true
|
|
tests:
|
|
- name: upstream test suite
|
|
test: |
|
|
set -x
|
|
if [ -z "$PKG_VER" ]; then
|
|
PKG_VER=`rpmspec -q --srpm --qf "%{version}" libblockdev.spec`
|
|
fi
|
|
if [ -z "$PKG_VER" ]; then
|
|
echo "Error: Unable to extract package version"
|
|
exit 1
|
|
fi
|
|
pushd $TMT_SOURCE_DIR/libblockdev-${PKG_VER}
|
|
|
|
python3 tests/run_tests.py --installed
|
|
|
|
execute:
|
|
- how: tmt
|
|
|
|
provision:
|
|
- hardware:
|
|
memory: ">= 3 GB"
|