2014-10-14 22:11:49 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-05-21 17:29:13 +02:00
|
|
|
ROOT=`pwd`
|
2015-05-21 16:30:14 +02:00
|
|
|
|
2014-10-14 23:22:02 +02:00
|
|
|
inifile() {
|
2015-05-21 17:29:13 +02:00
|
|
|
cd $ROOT
|
2014-10-14 23:18:01 +02:00
|
|
|
if [ ! -e eressea.ini ]; then
|
|
|
|
cp conf/eressea.ini .
|
2015-05-21 16:30:14 +02:00
|
|
|
$BUILD/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
2014-10-14 23:18:01 +02:00
|
|
|
fi
|
2014-10-14 23:22:02 +02:00
|
|
|
}
|
2014-10-14 23:18:01 +02:00
|
|
|
|
2016-10-03 16:16:17 +02:00
|
|
|
integration_tests() {
|
2016-09-14 17:14:04 +02:00
|
|
|
cd tests
|
|
|
|
./write-reports.sh
|
|
|
|
./run-turn.sh
|
|
|
|
}
|
|
|
|
|
2015-08-16 19:55:11 +02:00
|
|
|
set -e
|
2015-07-11 23:25:09 +02:00
|
|
|
[ -z $BUILD ] && BUILD=Debug ; export BUILD
|
|
|
|
s/cmake-init
|
|
|
|
s/build
|
2015-05-21 17:29:13 +02:00
|
|
|
cd $ROOT
|
|
|
|
inifile
|
2017-11-20 14:57:04 +01:00
|
|
|
cppcheck --version
|
2017-11-20 08:41:17 +01:00
|
|
|
cppcheck --quiet --error-exitcode=1 src
|
2017-10-10 21:30:53 +02:00
|
|
|
s/runtests -V
|
2016-10-03 16:16:17 +02:00
|
|
|
integration_tests
|
2017-12-03 15:43:22 +01:00
|
|
|
cd process
|
|
|
|
make
|
2017-11-20 08:41:17 +01:00
|
|
|
|