diff options
author | David Walter Seikel | 2014-04-21 20:42:45 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-21 20:42:45 +1000 |
commit | 6913da050d91e50a4ca84baa469469a2ed2a1ac5 (patch) | |
tree | 2b05b6a0dcd5f11f5ca22b0a0a0cd8fa4916974f /LuaSL/test.sh | |
parent | Don't quit the LuaSL_test UI when the server goes away, if told to run the UI. (diff) | |
download | SledjHamr-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/test.sh')
-rwxr-xr-x | LuaSL/test.sh | 28 |
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 | |||
3 | wd=$(pwd) | ||
4 | |||
5 | # Kill any left overs. | ||
6 | killall -KILL LuaSL | ||
7 | cd $wd/testLua | ||
8 | export LUA_PATH="$wd/src/?.lua" | ||
9 | |||
10 | case $@ 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 | |||
28 | esac | ||