diff options
Diffstat (limited to 'src/LuaSL/test.sh')
-rwxr-xr-x | src/LuaSL/test.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/LuaSL/test.sh b/src/LuaSL/test.sh new file mode 100755 index 0000000..1c26ade --- /dev/null +++ b/src/LuaSL/test.sh | |||
@@ -0,0 +1,27 @@ | |||
1 | #! /bin/bash | ||
2 | |||
3 | wd=$(pwd) | ||
4 | |||
5 | # Kill any left overs. | ||
6 | killall -KILL LuaSL | ||
7 | export LUA_PATH="$wd/../../libraries/?.lua" | ||
8 | |||
9 | case $@ in | ||
10 | |||
11 | ddd) | ||
12 | ddd ../../LuaSL | ||
13 | ;; | ||
14 | |||
15 | gdb) | ||
16 | gdb ../../LuaSL | ||
17 | ;; | ||
18 | |||
19 | *) | ||
20 | echo "_______________ STARTING LuaSL _______________" | ||
21 | ../../LuaSL & | ||
22 | sleep 1 | ||
23 | echo "_______________ STARTING LuaSL_test _______________" | ||
24 | ./LuaSL_test | ||
25 | ;; | ||
26 | |||
27 | esac | ||