summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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