summaryrefslogtreecommitdiff
path: root/build/bmaketest
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-02 23:39:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-02 23:39:17 +0300
commit22e8f318d41b1a4fcc8c5227fe70f10f3decafe0 (patch)
treeee50f2f46bb93f19d4fb5d1177aff3488ead797b /build/bmaketest
parent670264d93a362a3b987c6da62511ac49cd07b048 (diff)
downloadmanaverse-22e8f318d41b1a4fcc8c5227fe70f10f3decafe0.tar.gz
manaverse-22e8f318d41b1a4fcc8c5227fe70f10f3decafe0.tar.bz2
manaverse-22e8f318d41b1a4fcc8c5227fe70f10f3decafe0.tar.xz
manaverse-22e8f318d41b1a4fcc8c5227fe70f10f3decafe0.zip
Switch make test script from using separate directory to main directory.
Diffstat (limited to 'build/bmaketest')
-rwxr-xr-xbuild/bmaketest8
1 files changed, 3 insertions, 5 deletions
diff --git a/build/bmaketest b/build/bmaketest
index bd2b65557..6051a0922 100755
--- a/build/bmaketest
+++ b/build/bmaketest
@@ -1,6 +1,5 @@
#!/bin/bash
-mkdir tmp
cd ..
dir=`pwd`
@@ -18,14 +17,13 @@ export CXXFLAGS="-pedantic -ggdb3 -O3 -pipe -ffast-math \
source ./build/gcc6flags.sh
autoreconf -i
-cd build/tmp
-../../configure --prefix=$dir/run \
+./configure --prefix=$dir/run \
--datadir=$dir/run/share/games \
--bindir=$dir/run/bin \
--mandir=$dir/run/share/man \
--enable-unittests
cd po
-make -j8 update-gmo 2>../..//make1.log
+make -j8 update-gmo 2>../build/make1.log
cd ..
-make -j8 check 2>../make2.log
+make -j8 check 2>build/make2.log