aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/LuaSL/test.sh')
-rwxr-xr-xsrc/LuaSL/test.sh27
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
3wd=$(pwd)
4
5# Kill any left overs.
6killall -KILL LuaSL
7export LUA_PATH="$wd/../../libraries/?.lua"
8
9case $@ 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
27esac