aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/test.sh
blob: 435c5e2af7ade4227c711ebbf16c225965f34239 (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/../../lib/?.lua"

case $@ in

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

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

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

esac