blob: 8ba618614903569b5b361eafa44cf52cef0c5026 [file] [log] [blame]
Roger Meier41ad4342015-03-24 22:30:40 +01001[
2 {
3 "name": "c_glib",
4 "platforms": [
5 "Linux"
Roger Meier40cc2322014-06-11 11:09:14 +02006 ],
Roger Meier41ad4342015-03-24 22:30:40 +01007 "server": {
8 "delay": 1,
9 "command": [
10 "test_server"
11 ]
12 },
13 "client": {
14 "command": [
15 "test_client"
16 ]
17 },
18 "transports": [
19 "buffered",
20 "framed"
21 ],
22 "sockets": [
23 "ip"
24 ],
25 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000026 "binary",
27 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010028 ],
29 "workdir": "c_glib"
30 },
31 {
32 "name": "go",
33 "server": {
34 "delay": 1,
35 "command": [
36 "testserver",
37 "--certPath=../../keys"
38 ]
39 },
40 "client": {
41 "timeout": 6,
42 "command": [
43 "testclient"
44 ]
45 },
46 "transports": [
47 "buffered",
48 "framed"
49 ],
50 "sockets": [
51 "ip",
52 "ip-ssl"
53 ],
54 "protocols": [
55 "binary",
56 "compact",
57 "json"
58 ],
59 "workdir": "go/bin"
60 },
61 {
62 "name": "java",
63 "join_args": true,
64 "command": [
65 "ant",
66 "-f",
67 "build.xml",
68 "-Dno-gen-thrift=\"\"",
69 "-Dtestargs"
70 ],
71 "prepare": [
72 "ant",
73 "-f",
74 "build.xml",
75 "compile-test"
76 ],
77 "server": {
78 "delay": 5,
79 "extra_args": ["run-testserver"]
80 },
81 "client": {
82 "timeout": 13,
83 "extra_args": ["run-testclient"],
84 "transports": [
85 "http"
86 ]
87 },
88 "transports": [
89 "buffered",
90 "framed",
91 "framed:fastframed"
92 ],
93 "sockets": [
94 "ip-ssl",
95 "ip"
96 ],
97 "protocols": [
98 "compact",
99 "binary",
100 "json"
101 ],
102 "workdir": "../lib/java"
103 },
104 {
105 "name": "nodejs",
106 "env": {
107 "NODE_PATH": "../lib"
108 },
109 "server": {
110 "delay": 1,
111 "command": [
112 "node",
113 "server.js",
114 "--type=tcp"
115 ]
116 },
117 "client": {
118 "timeout": 2.9,
119 "command": [
120 "node",
121 "client.js",
122 "--type=tcp"
123 ]
124 },
125 "transports": [
126 "buffered",
127 "framed"
128 ],
129 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400130 "ip",
131 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100132 ],
133 "protocols": [
134 "compact",
135 "binary",
136 "json"
137 ],
138 "workdir": "../lib/nodejs/test"
139 },
140 {
141 "name": "hs",
142 "server": {
143 "command": [
144 "TestServer"
145 ]
146 },
147 "client": {
148 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200149 "transports": [
150 "http"
151 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100152 "command": [
153 "TestClient"
154 ]
155 },
156 "transports": [
157 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200158 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100159 ],
160 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200161 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100162 ],
163 "protocols": [
164 "compact",
165 "binary",
166 "json"
167 ],
168 "workdir": "hs"
169 },
170 {
171 "name": "py",
172 "server": {
173 "delay": 1,
174 "extra_args": ["TSimpleServer"],
175 "command": [
176 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200177 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100178 "--genpydir=gen-py"
179 ]
180 },
181 "client": {
182 "timeout": 10,
183 "command": [
184 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900185 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100186 "--host=localhost",
187 "--genpydir=gen-py"
188 ]
189 },
190 "transports": [
191 "buffered",
192 "framed"
193 ],
194 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400195 "ip",
196 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100197 ],
198 "protocols": [
199 "compact",
200 "binary",
201 "json",
202 "binary:accel"
203 ],
204 "workdir": "py"
205 },
206 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900207 "comment": "Using 'python3' executable to test py2 and 3 at once",
208 "name": "py3",
209 "server": {
210 "delay": 1,
211 "extra_args": ["TSimpleServer"],
212 "command": [
213 "python3",
214 "TestServer.py",
215 "--verbose",
216 "--libpydir=../../lib/py/build/lib",
217 "--genpydir=gen-py"
218 ]
219 },
220 "client": {
221 "timeout": 10,
222 "command": [
223 "python3",
224 "TestClient.py",
225 "--host=localhost",
226 "--libpydir=../../lib/py/build/lib",
227 "--genpydir=gen-py"
228 ]
229 },
230 "transports": [
231 "buffered",
232 "framed"
233 ],
234 "sockets": [
235 "ip-ssl",
236 "ip"
237 ],
238 "protocols": [
239 "compact",
240 "binary",
241 "json"
242 ],
243 "workdir": "py"
244 },
245 {
Roger Meier41ad4342015-03-24 22:30:40 +0100246 "name": "cpp",
247 "server": {
248 "delay": 2,
249 "command": [
250 "TestServer"
251 ]
252 },
253 "client": {
254 "timeout": 8,
255 "command": [
256 "TestClient"
257 ]
258 },
259 "transports": [
260 "buffered",
261 "http",
262 "framed"
263 ],
264 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100265 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400266 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100267 "domain"
268 ],
269 "protocols": [
270 "compact",
271 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800272 "json",
273 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100274 ],
275 "workdir": "cpp"
276 },
277 {
278 "name": "rb",
279 "server": {
280 "delay": 1,
281 "command": [
282 "ruby",
283 "../integration/TestServer.rb"
284 ]
285 },
286 "client": {
287 "timeout": 5,
288 "command": [
289 "ruby",
290 "../integration/TestClient.rb",
291 "--host=127.0.0.1"
292 ]
293 },
294 "transports": [
295 "buffered",
296 "framed"
297 ],
298 "sockets": [
299 "ip"
300 ],
301 "protocols": [
302 "compact",
303 "binary",
304 "json",
305 "binary:accel"
306 ],
307 "workdir": "rb/gen-rb"
308 },
309 {
310 "name": "csharp",
311 "env": {
312 "MONO_PATH": "../.."
313 },
314 "transports": [
315 "buffered",
316 "framed"
317 ],
318 "sockets": [
319 "ip",
320 "ip-ssl"
321 ],
322 "protocols": [
323 "binary",
324 "compact",
325 "json"
326 ],
327 "server": {
328 "delay": 3,
329 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900330 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100331 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200332 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100333 ]
334 },
335 "client": {
336 "timeout": 9,
337 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900338 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100339 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200340 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100341 ]
342 },
343 "workdir": "../lib/csharp/test/ThriftTest"
344 },
345 {
346 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400347 "transports": [
348 "buffered",
349 "framed"
350 ],
351 "sockets": [
352 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400353 "ip-ssl",
354 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400355 ],
356 "protocols": [
357 "binary"
358 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100359 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100360 "command": [
361 "perl",
362 "-Igen-perl/",
363 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400364 "TestClient.pl",
365 "--cert=../../test/keys/client.pem"
366 ]
367 },
368 "server": {
369 "command": [
370 "perl",
371 "-Igen-perl/",
372 "-I../../lib/perl/lib/",
373 "TestServer.pl",
374 "--cert=../../test/keys/server.pem",
375 "--key=../../test/keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100376 ]
377 },
378 "workdir": "perl"
379 },
380 {
381 "name": "php",
382 "client": {
383 "timeout": 6,
384 "transports": [
385 "buffered",
386 "framed"
387 ],
388 "sockets": [
389 "ip"
390 ],
391 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400392 "binary",
393 "compact",
394 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100395 ],
396 "command": [
397 "php",
398 "TestClient.php"
399 ]
400 },
401 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500402 },
403 {
404 "name": "dart",
405 "client": {
406 "transports": [
407 "buffered",
408 "framed",
409 "http"
410 ],
411 "sockets": [
412 "ip"
413 ],
414 "protocols": [
415 "binary",
416 "json"
417 ],
418 "command": [
419 "dart",
420 "test_client/bin/main.dart"
421 ]
422 },
423 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900424 },
425 {
426 "name": "erl",
427 "transports": [
428 "buffered",
429 "framed"
430 ],
431 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900432 "ip",
433 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900434 ],
435 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900436 "binary",
437 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900438 ],
439 "client": {
440 "command": [
441 "erl",
442 "+K",
443 "true",
444 "-noshell",
445 "-pa",
446 "../../lib/erl/ebin/",
447 "-pa",
448 "./ebin",
449 "-s",
450 "test_client",
451 "-s",
452 "init",
453 "stop",
454 "-extra"
455 ]
456 },
457 "server": {
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900458 "delay": 5,
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900459 "command": [
460 "erl",
461 "+K",
462 "true",
463 "-noshell",
464 "-pa",
465 "../../lib/erl/ebin/",
466 "-pa",
467 "./ebin",
468 "-s",
469 "test_thrift_server",
470 "-extra"
471 ]
472 },
473 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900474 },
475 {
476 "name": "js",
477 "transports": [
478 "http"
479 ],
480 "sockets": [
481 "ip"
482 ],
483 "protocols": [
484 "json"
485 ],
486 "client": {
487 "command": [
488 "phantomjs",
489 "test/phantom-client.js"
490 ]
491 },
492 "workdir": "../lib/js"
Roger Meier41ad4342015-03-24 22:30:40 +0100493 }
494]