diff options
Diffstat (limited to 'LuaSL')
-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 | ||