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

case $@ in

    ddd)
	ddd ./LuaSL
	;;

    gdb)
	gdb ./LuaSL
	;;

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

esac