aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/test.sh
blob: 1c26ade8bb70f03918bf3d1fca2e514d313920e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/bash

wd=$(pwd)

# Kill any left overs.
killall -KILL LuaSL
export LUA_PATH="$wd/../../libraries/?.lua"

case $@ in

    ddd)
	ddd ../../LuaSL
	;;

    gdb)
	gdb ../../LuaSL
	;;

    *)
	echo "_______________ STARTING LuaSL _______________"
	../../LuaSL &
	sleep 1
	echo "_______________ STARTING LuaSL_test _______________"
	./LuaSL_test
	;;

esac