winlin

refine the configure test script.

@@ -127,7 +127,7 @@ cd simple-rtmp-server/trunk @@ -127,7 +127,7 @@ cd simple-rtmp-server/trunk
127 * Usage: How to deploy SRS on ARM?([CN][v1_CN_SampleARM], [EN][v1_EN_SampleARM]) 127 * Usage: How to deploy SRS on ARM?([CN][v1_CN_SampleARM], [EN][v1_EN_SampleARM])
128 * Usage: How to ingest file/stream/device to SRS?([CN][v1_CN_SampleIngest], [EN][v1_EN_SampleIngest]) 128 * Usage: How to ingest file/stream/device to SRS?([CN][v1_CN_SampleIngest], [EN][v1_EN_SampleIngest])
129 * Usage: How to use SRS-HTTP-server to delivery HTTP/HLS stream?([CN][v2_CN_SampleHTTP], [EN][v2_EN_SampleHTTP]) 129 * Usage: How to use SRS-HTTP-server to delivery HTTP/HLS stream?([CN][v2_CN_SampleHTTP], [EN][v2_EN_SampleHTTP])
130 -* Usage: How to show the demo of [CN][v1_CN_SampleDemo], [EN][v1_EN_SampleDemo]) 130 +* Usage: How to show the demo of ([CN][v1_CN_SampleDemo], [EN][v1_EN_SampleDemo])
131 * Usage: How to publish h.264 raw stream to [CN][v2_CN_SrsLibrtmp2], [EN][v2_EN_SrsLibrtmp2]) 131 * Usage: How to publish h.264 raw stream to [CN][v2_CN_SrsLibrtmp2], [EN][v2_EN_SrsLibrtmp2])
132 * Usage: Solution using SRS?([CN][v1_CN_Sample], [EN][v1_EN_Sample]) 132 * Usage: Solution using SRS?([CN][v1_CN_Sample], [EN][v1_EN_Sample])
133 * Usage: Why SRS?([CN][v1_CN_Product], [EN][v1_EN_Product]) 133 * Usage: Why SRS?([CN][v1_CN_Product], [EN][v1_EN_Product])
@@ -19,175 +19,181 @@ ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi @@ -19,175 +19,181 @@ ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi
19 19
20 item="./configure" 20 item="./configure"
21 ok_msg "test \" ${item} \"" 21 ok_msg "test \" ${item} \""
22 -(./configure && make) >>$log 2>&1 22 +($item && make) >>$log 2>&1
23 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 23 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
24 ok_msg "test \" ${item} \" success" 24 ok_msg "test \" ${item} \" success"
25 25
26 item="./configure --x86-x64" 26 item="./configure --x86-x64"
27 ok_msg "test \" ${item} \"" 27 ok_msg "test \" ${item} \""
28 -(./configure --x86-x64 && make) >>$log 2>&1 28 +($item && make) >>$log 2>&1
29 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 29 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
30 ok_msg "test \" ${item} \" success" 30 ok_msg "test \" ${item} \" success"
31 31
32 item="./configure --disable-all" 32 item="./configure --disable-all"
33 ok_msg "test \" ${item} \"" 33 ok_msg "test \" ${item} \""
34 -(./configure --disable-all && make) >>$log 2>&1 34 +($item && make) >>$log 2>&1
35 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 35 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
36 ok_msg "test \" ${item} \" success" 36 ok_msg "test \" ${item} \" success"
37 37
38 item="./configure --fast" 38 item="./configure --fast"
39 ok_msg "test \" ${item} \"" 39 ok_msg "test \" ${item} \""
40 -(./configure --fast && make) >>$log 2>&1 40 +($item && make) >>$log 2>&1
41 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 41 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
42 ok_msg "test \" ${item} \" success" 42 ok_msg "test \" ${item} \" success"
43 43
44 item="./configure --pure-rtmp" 44 item="./configure --pure-rtmp"
45 ok_msg "test \" ${item} \"" 45 ok_msg "test \" ${item} \""
46 -(./configure --pure-rtmp && make) >>$log 2>&1 46 +($item && make) >>$log 2>&1
47 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 47 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
48 ok_msg "test \" ${item} \" success" 48 ok_msg "test \" ${item} \" success"
49 49
50 item="./configure --rtmp-hls" 50 item="./configure --rtmp-hls"
51 ok_msg "test \" ${item} \"" 51 ok_msg "test \" ${item} \""
52 -(./configure --rtmp-hls && make) >>$log 2>&1 52 +($item && make) >>$log 2>&1
53 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 53 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
54 ok_msg "test \" ${item} \" success" 54 ok_msg "test \" ${item} \" success"
55 55
56 item="./configure --fast --with-ssl" 56 item="./configure --fast --with-ssl"
57 ok_msg "test \" ${item} \"" 57 ok_msg "test \" ${item} \""
58 -(./configure --fast --with-ssl && make) >>$log 2>&1 58 +($item && make) >>$log 2>&1
59 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 59 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
60 ok_msg "test \" ${item} \" success" 60 ok_msg "test \" ${item} \" success"
61 61
62 item="./configure --fast --with-hls" 62 item="./configure --fast --with-hls"
63 ok_msg "test \" ${item} \"" 63 ok_msg "test \" ${item} \""
64 -(./configure --fast --with-hls && make) >>$log 2>&1 64 +($item && make) >>$log 2>&1
65 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 65 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
66 ok_msg "test \" ${item} \" success" 66 ok_msg "test \" ${item} \" success"
67 67
68 item="./configure --fast --with-dvr" 68 item="./configure --fast --with-dvr"
69 ok_msg "test \" ${item} \"" 69 ok_msg "test \" ${item} \""
70 -(./configure --fast --with-dvr && make) >>$log 2>&1 70 +($item && make) >>$log 2>&1
71 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 71 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
72 ok_msg "test \" ${item} \" success" 72 ok_msg "test \" ${item} \" success"
73 73
74 item="./configure --fast --with-nginx" 74 item="./configure --fast --with-nginx"
75 ok_msg "test \" ${item} \"" 75 ok_msg "test \" ${item} \""
76 -(./configure --fast --with-nginx && make) >>$log 2>&1 76 +($item && make) >>$log 2>&1
77 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 77 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
78 ok_msg "test \" ${item} \" success" 78 ok_msg "test \" ${item} \" success"
79 79
80 item="./configure --fast --with-http-callback" 80 item="./configure --fast --with-http-callback"
81 ok_msg "test \" ${item} \"" 81 ok_msg "test \" ${item} \""
82 -(./configure --fast --with-http-callback && make) >>$log 2>&1 82 +($item && make) >>$log 2>&1
83 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 83 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
84 ok_msg "test \" ${item} \" success" 84 ok_msg "test \" ${item} \" success"
85 85
86 item="./configure --fast --with-http-server" 86 item="./configure --fast --with-http-server"
87 ok_msg "test \" ${item} \"" 87 ok_msg "test \" ${item} \""
88 -(./configure --fast --with-http-server && make) >>$log 2>&1 88 +($item && make) >>$log 2>&1
89 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 89 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
90 ok_msg "test \" ${item} \" success" 90 ok_msg "test \" ${item} \" success"
91 91
92 item="./configure --fast --with-http-api" 92 item="./configure --fast --with-http-api"
93 ok_msg "test \" ${item} \"" 93 ok_msg "test \" ${item} \""
94 -(./configure --fast --with-http-api && make) >>$log 2>&1 94 +($item && make) >>$log 2>&1
95 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 95 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
96 ok_msg "test \" ${item} \" success" 96 ok_msg "test \" ${item} \" success"
97 97
98 item="./configure --fast --with-ffmpeg" 98 item="./configure --fast --with-ffmpeg"
99 ok_msg "test \" ${item} \"" 99 ok_msg "test \" ${item} \""
100 -(./configure --fast --with-ffmpeg && make) >>$log 2>&1 100 +($item && make) >>$log 2>&1
101 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 101 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
102 ok_msg "test \" ${item} \" success" 102 ok_msg "test \" ${item} \" success"
103 103
104 item="./configure --fast --with-transcode" 104 item="./configure --fast --with-transcode"
105 ok_msg "test \" ${item} \"" 105 ok_msg "test \" ${item} \""
106 -(./configure --fast --with-transcode && make) >>$log 2>&1 106 +($item && make) >>$log 2>&1
107 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 107 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
108 ok_msg "test \" ${item} \" success" 108 ok_msg "test \" ${item} \" success"
109 109
110 item="./configure --fast --with-ingest" 110 item="./configure --fast --with-ingest"
111 ok_msg "test \" ${item} \"" 111 ok_msg "test \" ${item} \""
112 -(./configure --fast --with-ingest && make) >>$log 2>&1 112 +($item && make) >>$log 2>&1
113 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 113 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
114 ok_msg "test \" ${item} \" success" 114 ok_msg "test \" ${item} \" success"
115 115
116 item="./configure --fast --with-librtmp" 116 item="./configure --fast --with-librtmp"
117 ok_msg "test \" ${item} \"" 117 ok_msg "test \" ${item} \""
118 -(./configure --fast --with-librtmp && make) >>$log 2>&1 118 +($item && make) >>$log 2>&1
119 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 119 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
120 ok_msg "test \" ${item} \" success" 120 ok_msg "test \" ${item} \" success"
121 121
122 item="./configure --fast --with-research" 122 item="./configure --fast --with-research"
123 ok_msg "test \" ${item} \"" 123 ok_msg "test \" ${item} \""
124 -(./configure --fast --with-research && make) >>$log 2>&1 124 +($item && make) >>$log 2>&1
  125 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  126 +ok_msg "test \" ${item} \" success"
  127 +
  128 +item="./configure --fast--with-stream-caster"
  129 +ok_msg "test \" ${item} \""
  130 +($item && make) >>$log 2>&1
125 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 131 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
126 ok_msg "test \" ${item} \" success" 132 ok_msg "test \" ${item} \" success"
127 133
128 item="./configure --fast --with-utest" 134 item="./configure --fast --with-utest"
129 ok_msg "test \" ${item} \"" 135 ok_msg "test \" ${item} \""
130 -(./configure --fast --with-utest && make) >>$log 2>&1 136 +($item && make) >>$log 2>&1
131 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 137 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
132 ok_msg "test \" ${item} \" success" 138 ok_msg "test \" ${item} \" success"
133 139
134 item="./configure --fast --with-ssl --with-utest" 140 item="./configure --fast --with-ssl --with-utest"
135 ok_msg "test \" ${item} \"" 141 ok_msg "test \" ${item} \""
136 -(./configure --fast --with-ssl --with-utest && make) >>$log 2>&1 142 +($item && make) >>$log 2>&1
137 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 143 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
138 ok_msg "test \" ${item} \" success" 144 ok_msg "test \" ${item} \" success"
139 145
140 item="./configure --fast --with-gperf" 146 item="./configure --fast --with-gperf"
141 ok_msg "test \" ${item} \"" 147 ok_msg "test \" ${item} \""
142 -(./configure --fast --with-gperf && make) >>$log 2>&1 148 +($item && make) >>$log 2>&1
143 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 149 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
144 ok_msg "test \" ${item} \" success" 150 ok_msg "test \" ${item} \" success"
145 151
146 item="./configure --fast --with-gperf --with-gmc" 152 item="./configure --fast --with-gperf --with-gmc"
147 ok_msg "test \" ${item} \"" 153 ok_msg "test \" ${item} \""
148 -(./configure --fast --with-gperf --with-gmc && make) >>$log 2>&1 154 +($item && make) >>$log 2>&1
149 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 155 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
150 ok_msg "test \" ${item} \" success" 156 ok_msg "test \" ${item} \" success"
151 157
152 item="./configure --fast --with-gperf --with-gmp" 158 item="./configure --fast --with-gperf --with-gmp"
153 ok_msg "test \" ${item} \"" 159 ok_msg "test \" ${item} \""
154 -(./configure --fast --with-gperf --with-gmp && make) >>$log 2>&1 160 +($item && make) >>$log 2>&1
155 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 161 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
156 ok_msg "test \" ${item} \" success" 162 ok_msg "test \" ${item} \" success"
157 163
158 item="./configure --fast --with-gperf --with-gcp" 164 item="./configure --fast --with-gperf --with-gcp"
159 ok_msg "test \" ${item} \"" 165 ok_msg "test \" ${item} \""
160 -(./configure --fast --with-gperf --with-gcp && make) >>$log 2>&1 166 +($item && make) >>$log 2>&1
161 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 167 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
162 ok_msg "test \" ${item} \" success" 168 ok_msg "test \" ${item} \" success"
163 169
164 item="./configure --fast --with-gprof" 170 item="./configure --fast --with-gprof"
165 ok_msg "test \" ${item} \"" 171 ok_msg "test \" ${item} \""
166 -(./configure --fast --with-gprof && make) >>$log 2>&1 172 +($item && make) >>$log 2>&1
167 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 173 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
168 ok_msg "test \" ${item} \" success" 174 ok_msg "test \" ${item} \" success"
169 175
170 item="./configure --fast --log-verbose" 176 item="./configure --fast --log-verbose"
171 ok_msg "test \" ${item} \"" 177 ok_msg "test \" ${item} \""
172 -(./configure --fast --log-verbose && make) >>$log 2>&1 178 +($item && make) >>$log 2>&1
173 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 179 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
174 ok_msg "test \" ${item} \" success" 180 ok_msg "test \" ${item} \" success"
175 181
176 item="./configure --fast --log-info" 182 item="./configure --fast --log-info"
177 ok_msg "test \" ${item} \"" 183 ok_msg "test \" ${item} \""
178 -(./configure --fast --log-info && make) >>$log 2>&1 184 +($item && make) >>$log 2>&1
179 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 185 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
180 ok_msg "test \" ${item} \" success" 186 ok_msg "test \" ${item} \" success"
181 187
182 item="./configure --fast --log-trace" 188 item="./configure --fast --log-trace"
183 ok_msg "test \" ${item} \"" 189 ok_msg "test \" ${item} \""
184 -(./configure --fast --log-trace && make) >>$log 2>&1 190 +($item && make) >>$log 2>&1
185 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 191 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
186 ok_msg "test \" ${item} \" success" 192 ok_msg "test \" ${item} \" success"
187 193
188 item="./configure --fast --log-info --log-verbose --log-trace" 194 item="./configure --fast --log-info --log-verbose --log-trace"
189 ok_msg "test \" ${item} \"" 195 ok_msg "test \" ${item} \""
190 -(./configure --fast --log-info --log-verbose --log-trace && make) >>$log 2>&1 196 +($item && make) >>$log 2>&1
191 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 197 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
192 ok_msg "test \" ${item} \" success" 198 ok_msg "test \" ${item} \" success"
193 199
@@ -196,25 +202,70 @@ ok_msg "test \" ${item} \" success" @@ -196,25 +202,70 @@ ok_msg "test \" ${item} \" success"
196 ####################################################################################################### 202 #######################################################################################################
197 item="./configure --dev" 203 item="./configure --dev"
198 ok_msg "test \" ${item} \"" 204 ok_msg "test \" ${item} \""
199 -(./configure --dev && make) >>$log 2>&1 205 +($item && make) >>$log 2>&1
200 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 206 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
201 ok_msg "test \" ${item} \" success" 207 ok_msg "test \" ${item} \" success"
202 208
203 item="./configure --fast-dev" 209 item="./configure --fast-dev"
204 ok_msg "test \" ${item} \"" 210 ok_msg "test \" ${item} \""
205 -(./configure --fast-dev && make) >>$log 2>&1 211 +($item && make) >>$log 2>&1
206 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 212 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
207 ok_msg "test \" ${item} \" success" 213 ok_msg "test \" ${item} \" success"
208 214
209 item="./configure --demo" 215 item="./configure --demo"
210 ok_msg "test \" ${item} \"" 216 ok_msg "test \" ${item} \""
211 -(./configure --demo && make) >>$log 2>&1 217 +($item && make) >>$log 2>&1
212 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 218 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
213 ok_msg "test \" ${item} \" success" 219 ok_msg "test \" ${item} \" success"
214 220
215 item="./configure --full" 221 item="./configure --full"
216 ok_msg "test \" ${item} \"" 222 ok_msg "test \" ${item} \""
217 -(./configure --full && make) >>$log 2>&1 223 +($item && make) >>$log 2>&1
  224 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  225 +ok_msg "test \" ${item} \" success"
  226 +
  227 +#######################################################################################################
  228 +#######################################################################################################
  229 +#######################################################################################################
  230 +item="./configure --disable-all --with-ssl"
  231 +ok_msg "test \" ${item} \""
  232 +($item && make) >>$log 2>&1
  233 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  234 +ok_msg "test \" ${item} \" success"
  235 +
  236 +item="./configure --disable-all --with-hls --with-ssl --with-http-server --with-http-api"
  237 +ok_msg "test \" ${item} \""
  238 +($item && make) >>$log 2>&1
  239 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  240 +ok_msg "test \" ${item} \" success"
  241 +
  242 +item="./configure --disable-all --with-ssl --with-hls --with-nginx"
  243 +ok_msg "test \" ${item} \""
  244 +($item && make) >>$log 2>&1
  245 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  246 +ok_msg "test \" ${item} \" success"
  247 +
  248 +item="./configure --disable-all --with-ssl --with-hls --with-nginx --with-ffmpeg --with-transcode"
  249 +ok_msg "test \" ${item} \""
  250 +($item && make) >>$log 2>&1
  251 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  252 +ok_msg "test \" ${item} \" success"
  253 +
  254 +item="./configure --disable-all --with-ssl --with-ffmpeg --with-transcode"
  255 +ok_msg "test \" ${item} \""
  256 +($item && make) >>$log 2>&1
  257 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  258 +ok_msg "test \" ${item} \" success"
  259 +
  260 +item="./configure --disable-all --with-ssl --with-ffmpeg --with-ingest"
  261 +ok_msg "test \" ${item} \""
  262 +($item && make) >>$log 2>&1
  263 +ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
  264 +ok_msg "test \" ${item} \" success"
  265 +
  266 +item="./configure --disable-all --with-hls --with-ssl --with-http-server"
  267 +ok_msg "test \" ${item} \""
  268 +($item && make) >>$log 2>&1
218 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi 269 ret=$?; if [[ $ret -ne 0 ]]; then failed_msg "test \" ${item} \" failed. ret=$ret"; exit $ret; fi
219 ok_msg "test \" ${item} \" success" 270 ok_msg "test \" ${item} \" success"
220 271