re-import sources as agreed with the maintainer
This commit is contained in:
parent
940fe3d47c
commit
44b7ba347d
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +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
|
||||
|
31
tests/glib+libevent/runtest.sh
Normal file
31
tests/glib+libevent/runtest.sh
Normal 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
30
tests/libev/runtest.sh
Normal 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
33
tests/tests.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user