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

reset

wd=$(pwd)

./build.sh || exit

echo "_______________ TESTING extantz _______________"
cd $wd/ClientHamr/extantz
./extantz &
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