Compare commits

..

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

8 changed files with 105 additions and 2 deletions

5
.gitignore vendored
View File

@ -1 +1,4 @@
SOURCES/libverto-0.3.2.tar.gz /libverto-0.2.6.tar.gz
/libverto-0.3.0.tar.gz
/libverto-0.3.1.tar.gz
/libverto-0.3.2.tar.gz

View File

@ -1 +0,0 @@
75faff55d9d1b06413612e6f2826fdd9adb73e33 SOURCES/libverto-0.3.2.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libverto-0.3.2.tar.gz) = 342f20f83b8f674230fefba013505e1339dab0022e5e232c39d6763e4307088fa290b5a8e83f588e97142f5c4d190b1430288750e45f37a5fe4174d84ef85fc1

View File

@ -0,0 +1,31 @@
#!/bin/sh -ex
# Weird location, but okay.
cd ../source
# Cleanup
if [ -f Makefile ]; then
make clean
fi
# Generate Makefiles, directory layout, ...
autoreconf -fiv
./configure --with-glib --with-libevent --disable-dependency-tracking
make -sj
# Avoid running `make check` here
cd tests
ls *.c | while read f; do
f="$(echo $f | awk -F. '{print $1}')"
make $f
done
cd ..
# Overwrite the build.
cd src/.libs
cp /usr/lib64/libverto-glib.so.1.0.0 .
cp /usr/lib64/libverto-libevent.so.1.0.0 .
cd ../..
# Go time.
exec make check

30
tests/libev/runtest.sh Normal file
View File

@ -0,0 +1,30 @@
#!/bin/sh -ex
# Weird location, but okay.
cd ../source
# Cleanup
if [ -f Makefile ]; then
make clean
fi
# Generate Makefiles, directory layout, ...
autoreconf -fiv
./configure --with-libev --disable-dependency-tracking
make -sj
# Avoid running `make check` here
cd tests
ls *.c | while read f; do
f="$(echo $f | awk -F. '{print $1}')"
make $f
done
cd ..
# Overwrite the build.
cd src/.libs
cp /usr/lib64/libverto-libev.so.1.0.0 .
cd ../..
# Go time.
exec make check

33
tests/tests.yml Normal file
View File

@ -0,0 +1,33 @@
---
- 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
args:
warn: false
- 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
- libverto-libev-devel
- make
- rpm-build
tests:
- glib+libevent
- libev