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
|
|
|
|
2015-08-16 19:55:11 +02:00
|
|
|
set -e
|
2015-07-11 23:25:09 +02:00
|
|
|
[ -z $BUILD ] && BUILD=Debug ; export BUILD
|
2016-09-16 09:49:53 +02:00
|
|
|
cmake --version
|
2015-07-11 23:25:09 +02:00
|
|
|
s/cmake-init
|
|
|
|
s/build
|
2015-05-21 17:29:13 +02:00
|
|
|
cd $ROOT
|
|
|
|
inifile
|
2015-07-11 23:25:09 +02:00
|
|
|
s/runtests
|
2015-08-05 17:42:36 +02:00
|
|
|
cd tests
|
|
|
|
./write-reports.sh
|
2015-09-07 15:27:30 +02:00
|
|
|
./run-turn.sh
|