Enable tmt gating plan in libverto dist-git
Resolves: RHELMISC-9585 Signed-off-by: Anuja More <amore@redhat.com>
This commit is contained in:
parent
b921856f7a
commit
e726fb0f1e
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
19
tests/driver/main.fmf
Normal file
19
tests/driver/main.fmf
Normal file
@ -0,0 +1,19 @@
|
||||
summary: Simple smoke test
|
||||
contact: Anuja More <amore@redhat.com>
|
||||
component:
|
||||
- libverto
|
||||
require:
|
||||
- libverto
|
||||
- libverto-devel
|
||||
- libverto-glib-devel
|
||||
- libverto-libevent-devel
|
||||
- make
|
||||
- rpm-build
|
||||
- fmf
|
||||
- wget
|
||||
- autoconf
|
||||
- autoconf-archive
|
||||
test: ./runtest.sh
|
||||
duration: 25m
|
||||
enabled: true
|
||||
extra-summary: tmt convert test
|
7
tests/driver/runtest.sh
Normal file → Executable file
7
tests/driver/runtest.sh
Normal file → Executable file
@ -1,7 +1,10 @@
|
||||
#!/bin/sh -ex
|
||||
|
||||
# Weird location, but okay.
|
||||
cd ../source
|
||||
dnf -y --nogpgcheck build-dep ../../libverto.spec
|
||||
|
||||
wget https://github.com/latchset/libverto/releases/download/0.3.2/libverto-0.3.2.tar.gz
|
||||
tar -xvzf libverto-0.3.2.tar.gz
|
||||
cd libverto-0.3.2
|
||||
|
||||
# Generate Makefiles, directory layout, ...
|
||||
autoreconf -fiv
|
||||
|
@ -1,29 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tags: classic
|
||||
tasks:
|
||||
- name: Copy spec file to remote machine
|
||||
copy:
|
||||
src: "{{ playbook_dir }}/../libverto.spec"
|
||||
dest: /tmp/libverto.spec
|
||||
- name: Install build deps
|
||||
shell: dnf -y --nogpgcheck build-dep /tmp/libverto.spec
|
||||
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
tags:
|
||||
- always
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
required_packages:
|
||||
- libverto
|
||||
- libverto-devel
|
||||
- libverto-glib-devel
|
||||
- libverto-libevent-devel
|
||||
- make
|
||||
- rpm-build
|
||||
tests:
|
||||
- driver
|
Loading…
Reference in New Issue
Block a user