aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test.sh
blob: 52a95610bdf1bbabab19f68e4cdf257c3db6ec04 (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
28
29
30
31
#! /bin/bash

reset

wd=$(pwd)

./build.sh || exit

echo "_______________ TESTING LuaSL _______________"
cd $wd/LuaSL/testLua
export LUA_PATH="$wd/LuaSL/src/?.lua"
export LUA_SOPATH='../../libraries/luaproc/'
export LD_LIBRARY_PATH="../../libraries/luajit-2.0/src:$LD_LIBRARY_PATH"


case $@ in

    ddd)
	ddd ../LuaSL
	;;

    gdb)
	gdb ../LuaSL
	;;

    *)
	../LuaSL
	;;

esac