aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test.sh
blob: e32d6a87591dec936980ad50699a8f5227859739 (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
#! /bin/bash

reset

wd=$(pwd)

./build.sh || exit

echo "_______________ TESTING LuaSL _______________"
cd $wd/LuaSL/testLua
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