From 29953567853d1288c2e4252d70a57a13aca5c9c5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Jan 2012 04:33:27 +0300 Subject: Add tests shortcut to linux portable version. --- nightly/buildlinux.sh | 1 + nightly/run tests.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 nightly/run tests.sh (limited to 'nightly') 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 -- cgit v1.2.3-70-g09d2