forked from github/server
20 lines
574 B
Bash
Executable File
20 lines
574 B
Bash
Executable File
#!/bin/sh
|
|
|
|
inifile() {
|
|
if [ ! -e eressea.ini ]; then
|
|
cp conf/eressea.ini .
|
|
build/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
|
fi
|
|
}
|
|
|
|
[ -d build ] || mkdir build
|
|
cd build && cmake .. \
|
|
-DCMAKE_MODULE_PATH=$PWD/../cmake/Modules \
|
|
-DCMAKE_BUILD_TYPE=Debug .. && \
|
|
make && cd .. && inifile &&
|
|
build/eressea/test_eressea &&
|
|
build/eressea/eressea -v0 scripts/run-tests.lua &&
|
|
build/eressea/eressea -v0 scripts/run-tests-e2.lua &&
|
|
build/eressea/eressea -v0 scripts/run-tests-e3.lua &&
|
|
(cd tests ; valgrind ../build/eressea/eressea -v0 -t184 ../scripts/reports.lua )
|