summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-07 04:33:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-07 04:33:27 +0300
commit29953567853d1288c2e4252d70a57a13aca5c9c5 (patch)
treecec41feb2b123449642284f6bb8acb5df6a036f6
parent229b55863347dc346f3ad816e38b84b456ee527c (diff)
downloadmv-29953567853d1288c2e4252d70a57a13aca5c9c5.tar.gz
mv-29953567853d1288c2e4252d70a57a13aca5c9c5.tar.bz2
mv-29953567853d1288c2e4252d70a57a13aca5c9c5.tar.xz
mv-29953567853d1288c2e4252d70a57a13aca5c9c5.zip
Add tests shortcut to linux portable version.
-rwxr-xr-xnightly/buildlinux.sh1
-rwxr-xr-xnightly/run tests.sh6
2 files changed, 7 insertions, 0 deletions
diff --git a/nightly/buildlinux.sh b/nightly/buildlinux.sh
index 4fcc828f2..b6f3efc77 100755
--- a/nightly/buildlinux.sh
+++ b/nightly/buildlinux.sh
@@ -28,4 +28,5 @@ then
mkdir -p $DSTDIR/bin
cp src/manaplus $DSTDIR/bin
cp nightly/runme.sh $DSTDIR
+ cp "nightly/run tests.sh" $DSTDIR
fi
diff --git a/nightly/run tests.sh b/nightly/run tests.sh
new file mode 100755
index 000000000..f72450c58
--- /dev/null
+++ b/nightly/run tests.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+DIR=$(dirname "$(readlink -f "$0")")
+cd "$DIR"
+export LD_LIBRARY_PATH="$DIR"/libs/:$LD_LIBRARY_PATH
+./bin/manaplus --tests