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