blob: be5992c78ba7a046e9f6327c0642512553e0b1be [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",
claudemirof8ca0552016-01-10 23:31:30 -020048 "framed",
49 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010050 ],
51 "sockets": [
52 "ip",
53 "ip-ssl"
54 ],
55 "protocols": [
56 "binary",
57 "compact",
58 "json"
59 ],
60 "workdir": "go/bin"
61 },
62 {
63 "name": "java",
64 "join_args": true,
65 "command": [
66 "ant",
67 "-f",
68 "build.xml",
69 "-Dno-gen-thrift=\"\"",
70 "-Dtestargs"
71 ],
72 "prepare": [
73 "ant",
74 "-f",
75 "build.xml",
76 "compile-test"
77 ],
78 "server": {
79 "delay": 5,
80 "extra_args": ["run-testserver"]
81 },
82 "client": {
83 "timeout": 13,
84 "extra_args": ["run-testclient"],
85 "transports": [
86 "http"
87 ]
88 },
89 "transports": [
90 "buffered",
91 "framed",
92 "framed:fastframed"
93 ],
94 "sockets": [
95 "ip-ssl",
96 "ip"
97 ],
98 "protocols": [
99 "compact",
100 "binary",
101 "json"
102 ],
103 "workdir": "../lib/java"
104 },
105 {
106 "name": "nodejs",
107 "env": {
108 "NODE_PATH": "../lib"
109 },
110 "server": {
111 "delay": 1,
112 "command": [
113 "node",
114 "server.js",
115 "--type=tcp"
116 ]
117 },
118 "client": {
119 "timeout": 2.9,
120 "command": [
121 "node",
122 "client.js",
123 "--type=tcp"
124 ]
125 },
126 "transports": [
127 "buffered",
128 "framed"
129 ],
130 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400131 "ip",
132 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100133 ],
134 "protocols": [
135 "compact",
136 "binary",
137 "json"
138 ],
139 "workdir": "../lib/nodejs/test"
140 },
141 {
142 "name": "hs",
143 "server": {
144 "command": [
145 "TestServer"
146 ]
147 },
148 "client": {
149 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200150 "transports": [
151 "http"
152 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100153 "command": [
154 "TestClient"
155 ]
156 },
157 "transports": [
158 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200159 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100160 ],
161 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200162 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100163 ],
164 "protocols": [
165 "compact",
166 "binary",
167 "json"
168 ],
169 "workdir": "hs"
170 },
171 {
172 "name": "py",
173 "server": {
174 "delay": 1,
175 "extra_args": ["TSimpleServer"],
176 "command": [
177 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200178 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100179 "--genpydir=gen-py"
180 ]
181 },
182 "client": {
183 "timeout": 10,
184 "command": [
185 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900186 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100187 "--host=localhost",
188 "--genpydir=gen-py"
189 ]
190 },
191 "transports": [
192 "buffered",
193 "framed"
194 ],
195 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400196 "ip",
197 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100198 ],
199 "protocols": [
200 "compact",
201 "binary",
202 "json",
203 "binary:accel"
204 ],
205 "workdir": "py"
206 },
207 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900208 "comment": "Using 'python3' executable to test py2 and 3 at once",
209 "name": "py3",
210 "server": {
211 "delay": 1,
212 "extra_args": ["TSimpleServer"],
213 "command": [
214 "python3",
215 "TestServer.py",
216 "--verbose",
217 "--libpydir=../../lib/py/build/lib",
218 "--genpydir=gen-py"
219 ]
220 },
221 "client": {
222 "timeout": 10,
223 "command": [
224 "python3",
225 "TestClient.py",
226 "--host=localhost",
227 "--libpydir=../../lib/py/build/lib",
228 "--genpydir=gen-py"
229 ]
230 },
231 "transports": [
232 "buffered",
233 "framed"
234 ],
235 "sockets": [
236 "ip-ssl",
237 "ip"
238 ],
239 "protocols": [
240 "compact",
241 "binary",
242 "json"
243 ],
244 "workdir": "py"
245 },
246 {
Roger Meier41ad4342015-03-24 22:30:40 +0100247 "name": "cpp",
248 "server": {
249 "delay": 2,
250 "command": [
251 "TestServer"
252 ]
253 },
254 "client": {
255 "timeout": 8,
256 "command": [
257 "TestClient"
258 ]
259 },
260 "transports": [
261 "buffered",
262 "http",
263 "framed"
264 ],
265 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100266 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400267 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100268 "domain"
269 ],
270 "protocols": [
271 "compact",
272 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800273 "json",
274 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100275 ],
276 "workdir": "cpp"
277 },
278 {
279 "name": "rb",
280 "server": {
281 "delay": 1,
282 "command": [
283 "ruby",
284 "../integration/TestServer.rb"
285 ]
286 },
287 "client": {
288 "timeout": 5,
289 "command": [
290 "ruby",
291 "../integration/TestClient.rb",
292 "--host=127.0.0.1"
293 ]
294 },
295 "transports": [
296 "buffered",
297 "framed"
298 ],
299 "sockets": [
300 "ip"
301 ],
302 "protocols": [
303 "compact",
304 "binary",
305 "json",
306 "binary:accel"
307 ],
308 "workdir": "rb/gen-rb"
309 },
310 {
311 "name": "csharp",
312 "env": {
313 "MONO_PATH": "../.."
314 },
315 "transports": [
316 "buffered",
317 "framed"
318 ],
319 "sockets": [
320 "ip",
321 "ip-ssl"
322 ],
323 "protocols": [
324 "binary",
325 "compact",
326 "json"
327 ],
328 "server": {
329 "delay": 3,
330 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900331 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100332 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200333 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100334 ]
335 },
336 "client": {
337 "timeout": 9,
338 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900339 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100340 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200341 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100342 ]
343 },
344 "workdir": "../lib/csharp/test/ThriftTest"
345 },
346 {
347 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400348 "transports": [
349 "buffered",
350 "framed"
351 ],
352 "sockets": [
353 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400354 "ip-ssl",
355 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400356 ],
357 "protocols": [
358 "binary"
359 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100360 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100361 "command": [
362 "perl",
363 "-Igen-perl/",
364 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400365 "TestClient.pl",
366 "--cert=../../test/keys/client.pem"
367 ]
368 },
369 "server": {
370 "command": [
371 "perl",
372 "-Igen-perl/",
373 "-I../../lib/perl/lib/",
374 "TestServer.pl",
375 "--cert=../../test/keys/server.pem",
376 "--key=../../test/keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100377 ]
378 },
379 "workdir": "perl"
380 },
381 {
382 "name": "php",
383 "client": {
384 "timeout": 6,
385 "transports": [
386 "buffered",
387 "framed"
388 ],
389 "sockets": [
390 "ip"
391 ],
392 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400393 "binary",
394 "compact",
395 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100396 ],
397 "command": [
398 "php",
399 "TestClient.php"
400 ]
401 },
402 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500403 },
404 {
405 "name": "dart",
406 "client": {
407 "transports": [
408 "buffered",
409 "framed",
410 "http"
411 ],
412 "sockets": [
413 "ip"
414 ],
415 "protocols": [
416 "binary",
417 "json"
418 ],
419 "command": [
420 "dart",
421 "test_client/bin/main.dart"
422 ]
423 },
424 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900425 },
426 {
427 "name": "erl",
428 "transports": [
429 "buffered",
430 "framed"
431 ],
432 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900433 "ip",
434 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900435 ],
436 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900437 "binary",
438 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900439 ],
440 "client": {
441 "command": [
442 "erl",
443 "+K",
444 "true",
445 "-noshell",
446 "-pa",
447 "../../lib/erl/ebin/",
448 "-pa",
449 "./ebin",
450 "-s",
451 "test_client",
452 "-s",
453 "init",
454 "stop",
455 "-extra"
456 ]
457 },
458 "server": {
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900459 "delay": 5,
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900460 "command": [
461 "erl",
462 "+K",
463 "true",
464 "-noshell",
465 "-pa",
466 "../../lib/erl/ebin/",
467 "-pa",
468 "./ebin",
469 "-s",
470 "test_thrift_server",
471 "-extra"
472 ]
473 },
474 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900475 },
476 {
477 "name": "js",
478 "transports": [
479 "http"
480 ],
481 "sockets": [
482 "ip"
483 ],
484 "protocols": [
485 "json"
486 ],
487 "client": {
488 "command": [
489 "phantomjs",
490 "test/phantom-client.js"
491 ]
492 },
493 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900494 },
495 {
496 "name": "lua",
497 "TODO": "Add dll to LUA_CPATH",
498 "env": {
499 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
500 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
501 },
502 "client": {
503 "timeout": 5,
504 "transports": [
505 "buffered",
506 "framed"
507 ],
508 "sockets": [
509 "ip"
510 ],
511 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900512 "binary",
513 "compact"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900514 ],
515 "command": [
516 "lua",
517 "test_basic_client.lua"
518 ]
519 },
520 "workdir": "lua"
Roger Meier41ad4342015-03-24 22:30:40 +0100521 }
522]