aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test.sh
blob: 1b77b4255a05a1975fb23f4e2afe9a4cb68bf8ab (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#! /bin/bash

reset

wd=$(pwd)

./build.sh || exit

echo "_______________ TESTING extantz _______________"
cd $wd/ClientHamr/extantz
./test.sh &
sleep 1

echo "_______________ TESTING GuiLua _______________"
cd $wd/ClientHamr/GuiLua
./test.sh &
sleep 1

echo "_______________ TESTING LuaSL _______________"
# Kill any left overs.
killall -KILL 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"
export EINA_LOG_LEVELS="eo:2,ecore:2,ecore_con:2"

case $@ in

    ddd)
	ddd ../LuaSL
	;;

    gdb)
	gdb ../LuaSL
	;;

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

esac