parent
eff6808063
commit
a63a91de22
15
tests/make_check.sh
Normal file
15
tests/make_check.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
check_return_value () {
|
||||
if [ $1 != 0 ] ; then
|
||||
exit $1
|
||||
fi
|
||||
}
|
||||
|
||||
cd $1
|
||||
./configure --prefix=/usr
|
||||
check_return_value $?
|
||||
make check
|
||||
exit $?
|
33
tests/tests.yml
Normal file
33
tests/tests.yml
Normal file
@ -0,0 +1,33 @@
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-source # to get the source tar ball to do “make check”
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- make
|
||||
- libappstream-glib
|
||||
- desktop-file-utils
|
||||
- python3-gobject
|
||||
- python3-gobject-base
|
||||
- glib2
|
||||
- gtk3
|
||||
- dconf
|
||||
- dbus-x11
|
||||
- ibus
|
||||
- ibus-devel
|
||||
- gcc-c++
|
||||
- gettext-devel
|
||||
- gcc
|
||||
- intltool
|
||||
- libtool
|
||||
- pkgconfig
|
||||
- sqlite-devel
|
||||
- libuuid-devel
|
||||
- lua-devel
|
||||
- python3-devel
|
||||
- libpinyin-devel
|
||||
tests:
|
||||
- make-check:
|
||||
dir: .
|
||||
run: bash ./make_check.sh ./source
|
Loading…
Reference in New Issue
Block a user