aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 20:42:45 +1000
committerDavid Walter Seikel2014-04-21 20:42:45 +1000
commit6913da050d91e50a4ca84baa469469a2ed2a1ac5 (patch)
tree2b05b6a0dcd5f11f5ca22b0a0a0cd8fa4916974f /LuaSL
parentDon't quit the LuaSL_test UI when the server goes away, if told to run the UI. (diff)
downloadSledjHamr-6913da050d91e50a4ca84baa469469a2ed2a1ac5.zip
SledjHamr-6913da050d91e50a4ca84baa469469a2ed2a1ac5.tar.gz
SledjHamr-6913da050d91e50a4ca84baa469469a2ed2a1ac5.tar.bz2
SledjHamr-6913da050d91e50a4ca84baa469469a2ed2a1ac5.tar.xz
LuaSL gets a test.sh just like the rest.
Diffstat (limited to 'LuaSL')
-rwxr-xr-xLuaSL/test.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/LuaSL/test.sh b/LuaSL/test.sh
new file mode 100755
index 0000000..e908a80
--- /dev/null
+++ b/LuaSL/test.sh
@@ -0,0 +1,28 @@
1#! /bin/bash
2
3wd=$(pwd)
4
5# Kill any left overs.
6killall -KILL LuaSL
7cd $wd/testLua
8export LUA_PATH="$wd/src/?.lua"
9
10case $@ in
11
12 ddd)
13 ddd ../LuaSL
14 ;;
15
16 gdb)
17 gdb ../LuaSL
18 ;;
19
20 *)
21 echo "_______________ STARTING LuaSL _______________"
22 ../LuaSL &
23 sleep 1
24 echo "_______________ STARTING LuaSL_test _______________"
25 ../LuaSL_test
26 ;;
27
28esac