summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-02 23:13:44 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-02 23:13:44 +0300
commite05a85ba59589ea321e24ed56036b04bc1a68718 (patch)
treec2a1f6a3a89b87a7fafe524ecb4f82d8adf806d2 /tests
parent8e3c48f9ed3dfe6dc2665f8b867e637cfc4d32ee (diff)
downloadmanaverse-e05a85ba59589ea321e24ed56036b04bc1a68718.tar.gz
manaverse-e05a85ba59589ea321e24ed56036b04bc1a68718.tar.bz2
manaverse-e05a85ba59589ea321e24ed56036b04bc1a68718.tar.xz
manaverse-e05a85ba59589ea321e24ed56036b04bc1a68718.zip
Add compilation test script.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/maketest.sh148
1 files changed, 148 insertions, 0 deletions
diff --git a/tests/maketest.sh b/tests/maketest.sh
new file mode 100755
index 000000000..eeea5706e
--- /dev/null
+++ b/tests/maketest.sh
@@ -0,0 +1,148 @@
+#!/bin/sh
+
+dir=`pwd`
+export LANG=C
+
+#--enable-applebuild=yes
+#--without-librt
+
+echo start >make2.log
+
+autoreconf -i
+echo opengl+debug+guichan >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=yes \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no
+make -j5 2>>make2.log
+
+autoreconf -i
+echo opengl+guichan >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no
+make -j5 2>>make2.log
+
+autoreconf -i
+echo opengl >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=no \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no
+make -j5 2>>make2.log
+
+autoreconf -i
+echo opengl+manaserv >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=no \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes
+make -j5 2>>make2.log
+
+autoreconf -i
+echo opengl+guichan+manaserv >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes
+make -j5 2>>make2.log
+
+autoreconf -i
+echo guichan >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--without-opengl
+make -j5 2>>make2.log
+
+autoreconf -i
+echo "-" >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=no \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--without-opengl
+make -j5 2>>make2.log
+
+autoreconf -i
+echo guichan+manaserv >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes \
+--without-opengl
+make -j5 2>>make2.log
+
+autoreconf -i
+echo opengl+debug+guichan+portable >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=yes \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-portable=yes
+make -j5 2>>make2.log
+
+autoreconf -i
+echo opengl+guichan+portable+manaserv >>make2.log
+make clean 2>>make2.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes \
+--enable-portable=yes
+make -j5 2>>make2.log