re-import sources as agreed with the maintainer
This commit is contained in:
parent
03113fbd42
commit
7f7428aace
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
SOURCES/kyotocabinet-1.2.76.tar.gz
|
kyotocabinet-1.2.??.tar.gz
|
||||||
/kyotocabinet-1.2.76.tar.gz
|
|
||||||
|
17
tests/make_check.sh
Normal file
17
tests/make_check.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
check_return_value () {
|
||||||
|
if [ $1 != 0 ] ; then
|
||||||
|
exit $1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
cd $1
|
||||||
|
./configure --prefix=/usr --disable-opt --enable-lzo --enable-lzma
|
||||||
|
check_return_value $?
|
||||||
|
make
|
||||||
|
check_return_value $?
|
||||||
|
make check
|
||||||
|
exit $?
|
19
tests/tests.yml
Normal file
19
tests/tests.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
vars:
|
||||||
|
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
remote_user: root
|
||||||
|
roles:
|
||||||
|
- role: standard-test-source # to get the source tar ball to do “make check”
|
||||||
|
- role: standard-test-basic
|
||||||
|
required_packages:
|
||||||
|
- make
|
||||||
|
- gcc-c++
|
||||||
|
- zlib-devel
|
||||||
|
- lzo-devel
|
||||||
|
- xz-devel
|
||||||
|
tests:
|
||||||
|
- make-check:
|
||||||
|
dir: ./
|
||||||
|
run: bash ./make_check.sh ./source
|
Loading…
Reference in New Issue
Block a user