travis build now runs a full turn for acceptance.

* new cmake module (lus/tolua changes).
* valgrind suppression for glibc strtod problems.
This commit is contained in:
Enno Rehling 2015-06-09 08:36:45 +02:00
parent 8ecf51b057
commit 8080adcd2b
3 changed files with 31 additions and 3 deletions

2
cmake

@ -1 +1 @@
Subproject commit 2e4a409c0b2b6b1150ea424289552a199b374c7a
Subproject commit ce0a1c882fa44b882c29cc8c68012295328dc352

View File

@ -23,18 +23,24 @@ make
}
test_valgrind_report () {
cd tests
cd $ROOT/tests
ln -sf ../scripts/config.lua
valgrind --suppressions=ubuntu-12_04.supp --error-exitcode=1 $BUILD/eressea/eressea -v0 -t184 ../scripts/reports.lua
}
test_valgrind_turn () {
cd $ROOT/tests
ln -sf ../scripts/config.lua
valgrind --suppressions=ubuntu-12_04.supp --error-exitcode=1 $BUILD/eressea/eressea -v0 -t184 ../scripts/run-turn.lua
}
test_unittests() {
$BUILD/eressea/test_eressea
}
cleanup() {
cd $ROOT/tests
rm -rf reports score eressea.log* config.lua
rm -rf reports score eressea.log* config.lua data/185.dat datum passwd parteien parteien.full turn
}
test_server() {
@ -59,5 +65,6 @@ build
test_unittests
test_server
test_valgrind_report
test_valgrind_turn
cleanup

View File

@ -1,3 +1,4 @@
# old zlib version
{
zlib1g-dev-1:1.2.3.4.dfsg
Memcheck:Cond
@ -14,3 +15,23 @@
fun:read_xml
fun:init_data
}
# https://sourceware.org/bugzilla/show_bug.cgi?id=14404
{
glibc-bug-14404-1
Memcheck:Addr8
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
}
{
glibc-bug-14404-2
Memcheck:Cond
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
}
{
glibc-bug-14404-3
Memcheck:Value8
fun:__GI___strncasecmp_l
fun:____strtod_l_internal
}