update configure script for multiple game directories

This commit is contained in:
Enno Rehling 2013-02-18 01:41:04 +00:00
parent b4cea49843
commit 14f83b91e6
1 changed files with 7 additions and 3 deletions

10
configure vendored
View File

@ -23,6 +23,10 @@ cd $BIN_DIR
CC="$CC" cmake .. -DCMAKE_MODULE_PATH=$PWD/../cmake/Modules -DCMAKE_BUILD_TYPE=Debug
make -j$JOBS
make test
cd ../game
ln -sf ../$BIN_DIR/server/server
./server -e run_tests
cd ..
for GAME in game* ; do
cd $GAME
ln -sf ../$BIN_DIR/server/server
./server -e run_tests
cd ..
done