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 /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 '')
-rwxr-xr-x | test.sh | 27 |
1 files changed, 2 insertions, 25 deletions
@@ -17,28 +17,5 @@ cd $wd/ClientHamr/GuiLua | |||
17 | sleep 1 | 17 | sleep 1 |
18 | 18 | ||
19 | echo "_______________ TESTING LuaSL _______________" | 19 | echo "_______________ TESTING LuaSL _______________" |
20 | # Kill any left overs. | 20 | cd $wd/LuaSL |
21 | killall -KILL LuaSL | 21 | ./test.sh $0 |
22 | cd $wd/LuaSL/testLua | ||
23 | export LUA_PATH="$wd/LuaSL/src/?.lua" | ||
24 | export LD_LIBRARY_PATH="../../libraries:$LD_LIBRARY_PATH" | ||
25 | |||
26 | case $@ in | ||
27 | |||
28 | ddd) | ||
29 | ddd ../LuaSL | ||
30 | ;; | ||
31 | |||
32 | gdb) | ||
33 | gdb ../LuaSL | ||
34 | ;; | ||
35 | |||
36 | *) | ||
37 | echo "_______________ STARTING LuaSL _______________" | ||
38 | ../LuaSL & | ||
39 | sleep 1 | ||
40 | echo "_______________ STARTING LuaSL_test _______________" | ||
41 | ../LuaSL_test | ||
42 | ;; | ||
43 | |||
44 | esac | ||