From e05a85ba59589ea321e24ed56036b04bc1a68718 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Sep 2011 23:13:44 +0300 Subject: Add compilation test script. --- tests/maketest.sh | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100755 tests/maketest.sh 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 -- cgit v1.2.3-70-g09d2