2014-10-14 22:11:49 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-10-14 23:22:02 +02:00
|
|
|
inifile() {
|
2014-10-14 23:18:01 +02:00
|
|
|
if [ ! -e eressea.ini ]; then
|
|
|
|
cp conf/eressea.ini .
|
|
|
|
build/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
|
|
|
fi
|
2014-10-14 23:22:02 +02:00
|
|
|
}
|
2014-10-14 23:18:01 +02:00
|
|
|
|
2014-10-14 22:11:49 +02:00
|
|
|
[ -d build ] || mkdir build
|
|
|
|
cd build && cmake .. \
|
|
|
|
-DCMAKE_MODULE_PATH=$PWD/../cmake/Modules \
|
|
|
|
-DCMAKE_BUILD_TYPE=Debug .. && \
|
2014-10-14 23:22:02 +02:00
|
|
|
make && cd .. && inifile &&
|
2014-10-14 22:11:49 +02:00
|
|
|
build/eressea/test_eressea &&
|
2015-05-18 07:36:39 +02:00
|
|
|
build/eressea/eressea -v0 scripts/run-tests.lua
|
2015-02-13 16:03:05 +01:00
|
|
|
build/eressea/eressea -v0 scripts/run-tests-e2.lua
|
|
|
|
build/eressea/eressea -v0 scripts/run-tests-e3.lua
|