File tree Expand file tree Collapse file tree 3 files changed +21
-93
lines changed Expand file tree Collapse file tree 3 files changed +21
-93
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ start_all_secure:
26
26
cd tools && ./start_all_tmux.sh secure
27
27
28
28
start_test_all :
29
- cd tools && chmod +x start_test.sh && ./start_test .sh
29
+ cd tools && ./start_all_tmux .sh test
30
30
31
31
all_service :
32
32
cd lucida && make all
Original file line number Diff line number Diff line change 13
13
# source the port properties
14
14
. ../lucida/config.properties
15
15
16
- SESSION_NAME=" lucida"
16
+ if [ " $1 " == " test" ]; then
17
+ SESSION_NAME=" lu-test"
18
+ else
19
+ SESSION_NAME=" lucida"
20
+ fi
17
21
18
22
# Check if session already exists
19
23
tmux has-session -t ${SESSION_NAME}
@@ -55,12 +59,19 @@ declare -a facerecognition=("FACE" "$(pwd)/../lucida/djinntonic/face")
55
59
declare -a weather=(" WE" " $( pwd) /../lucida/weather" )
56
60
declare -a musicservice=(" MS" " $( pwd) /../lucida/musicservice" )
57
61
58
- declare -a services=(
59
- commandcenter
62
+ if [ " $1 " == " test" ]; then
63
+ declare -a services=(
64
+ )
65
+ else
66
+ declare -a services=(
67
+ commandcenter
68
+ speechrecognition)
69
+ fi
70
+
71
+ services+=(
60
72
questionanswering
61
73
imagematching
62
74
calendar
63
- speechrecognition
64
75
imageclassification
65
76
digitrecognition
66
77
facerecognition
82
93
tmux new-window -n ${! NAME} -t ${SESSION_NAME}
83
94
fi
84
95
tmux send-keys -t ${SESSION_NAME} :$TMUX_WIN " cd ${! SERV_PATH} " C-m
85
- tmux send-keys -t ${SESSION_NAME} :$TMUX_WIN " make start_server" C-m
96
+ if [ " $1 " == " test" ]; then
97
+ tmux send-keys -t ${SESSION_NAME} :$TMUX_WIN " make start_test" C-m
98
+ else
99
+ tmux send-keys -t ${SESSION_NAME} :$TMUX_WIN " make start_server" C-m
100
+ fi
86
101
(( TMUX_WIN++ ))
87
102
done
88
103
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments