blob: 2460b837e261253d0a7c84577d565277b7843851 [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": {
Roger Meier41ad4342015-03-24 22:30:40 +01008 "command": [
9 "test_server"
10 ]
11 },
12 "client": {
13 "command": [
14 "test_client"
15 ]
16 },
17 "transports": [
18 "buffered",
19 "framed"
20 ],
21 "sockets": [
22 "ip"
23 ],
24 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000025 "binary",
26 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010027 ],
28 "workdir": "c_glib"
29 },
30 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090031 "name": "d",
32 "server": {
33 "command": [
34 "thrift_test_server"
35 ]
36 },
37 "client": {
38 "command": [
39 "thrift_test_client"
40 ]
41 },
42 "transports": [
43 "http",
44 "buffered",
45 "framed"
46 ],
47 "sockets": [
48 "ip",
49 "ip-ssl"
50 ],
51 "protocols": [
52 "binary",
53 "compact",
54 "json"
55 ],
56 "workdir": "../lib/d/test"
57 },
58 {
Roger Meier41ad4342015-03-24 22:30:40 +010059 "name": "go",
60 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010061 "command": [
62 "testserver",
63 "--certPath=../../keys"
64 ]
65 },
66 "client": {
67 "timeout": 6,
68 "command": [
69 "testclient"
70 ]
71 },
72 "transports": [
73 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020074 "framed",
75 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010076 ],
77 "sockets": [
78 "ip",
79 "ip-ssl"
80 ],
81 "protocols": [
82 "binary",
83 "compact",
84 "json"
85 ],
86 "workdir": "go/bin"
87 },
88 {
89 "name": "java",
90 "join_args": true,
91 "command": [
92 "ant",
93 "-f",
94 "build.xml",
95 "-Dno-gen-thrift=\"\"",
96 "-Dtestargs"
97 ],
98 "prepare": [
99 "ant",
100 "-f",
101 "build.xml",
102 "compile-test"
103 ],
104 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900105 "delay": 10,
Roger Meier41ad4342015-03-24 22:30:40 +0100106 "extra_args": ["run-testserver"]
107 },
108 "client": {
109 "timeout": 13,
110 "extra_args": ["run-testclient"],
111 "transports": [
112 "http"
113 ]
114 },
115 "transports": [
116 "buffered",
117 "framed",
118 "framed:fastframed"
119 ],
120 "sockets": [
121 "ip-ssl",
122 "ip"
123 ],
124 "protocols": [
125 "compact",
126 "binary",
127 "json"
128 ],
129 "workdir": "../lib/java"
130 },
131 {
132 "name": "nodejs",
133 "env": {
134 "NODE_PATH": "../lib"
135 },
136 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100137 "command": [
138 "node",
139 "server.js",
140 "--type=tcp"
141 ]
142 },
143 "client": {
144 "timeout": 2.9,
145 "command": [
146 "node",
147 "client.js",
148 "--type=tcp"
149 ]
150 },
151 "transports": [
152 "buffered",
153 "framed"
154 ],
155 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400156 "ip",
157 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100158 ],
159 "protocols": [
160 "compact",
161 "binary",
162 "json"
163 ],
164 "workdir": "../lib/nodejs/test"
165 },
166 {
167 "name": "hs",
168 "server": {
169 "command": [
170 "TestServer"
171 ]
172 },
173 "client": {
174 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200175 "transports": [
176 "http"
177 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100178 "command": [
179 "TestClient"
180 ]
181 },
182 "transports": [
183 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200184 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100185 ],
186 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200187 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100188 ],
189 "protocols": [
190 "compact",
191 "binary",
192 "json"
193 ],
194 "workdir": "hs"
195 },
196 {
197 "name": "py",
198 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100199 "extra_args": ["TSimpleServer"],
200 "command": [
201 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200202 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100203 "--genpydir=gen-py"
204 ]
205 },
206 "client": {
207 "timeout": 10,
208 "command": [
209 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900210 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100211 "--host=localhost",
212 "--genpydir=gen-py"
213 ]
214 },
215 "transports": [
216 "buffered",
217 "framed"
218 ],
219 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400220 "ip",
221 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100222 ],
223 "protocols": [
224 "compact",
225 "binary",
226 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900227 "binary:accel",
228 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100229 ],
230 "workdir": "py"
231 },
232 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900233 "comment": "Using 'python3' executable to test py2 and 3 at once",
234 "name": "py3",
235 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900236 "extra_args": ["TSimpleServer"],
237 "command": [
238 "python3",
239 "TestServer.py",
240 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900241 "--genpydir=gen-py"
242 ]
243 },
244 "client": {
245 "timeout": 10,
246 "command": [
247 "python3",
248 "TestClient.py",
249 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900250 "--genpydir=gen-py"
251 ]
252 },
253 "transports": [
254 "buffered",
255 "framed"
256 ],
257 "sockets": [
258 "ip-ssl",
259 "ip"
260 ],
261 "protocols": [
262 "compact",
263 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900264 "json",
265 "binary:accel",
266 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900267 ],
268 "workdir": "py"
269 },
270 {
Roger Meier41ad4342015-03-24 22:30:40 +0100271 "name": "cpp",
272 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100273 "command": [
274 "TestServer"
275 ]
276 },
277 "client": {
278 "timeout": 8,
279 "command": [
280 "TestClient"
281 ]
282 },
283 "transports": [
284 "buffered",
285 "http",
286 "framed"
287 ],
288 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100289 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400290 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100291 "domain"
292 ],
293 "protocols": [
294 "compact",
295 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800296 "json",
297 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100298 ],
299 "workdir": "cpp"
300 },
301 {
302 "name": "rb",
303 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100304 "command": [
305 "ruby",
306 "../integration/TestServer.rb"
307 ]
308 },
309 "client": {
310 "timeout": 5,
311 "command": [
312 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900313 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100314 ]
315 },
316 "transports": [
317 "buffered",
318 "framed"
319 ],
320 "sockets": [
321 "ip"
322 ],
323 "protocols": [
324 "compact",
325 "binary",
326 "json",
327 "binary:accel"
328 ],
329 "workdir": "rb/gen-rb"
330 },
331 {
332 "name": "csharp",
333 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900334 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100335 },
336 "transports": [
337 "buffered",
338 "framed"
339 ],
340 "sockets": [
341 "ip",
342 "ip-ssl"
343 ],
344 "protocols": [
345 "binary",
346 "compact",
347 "json"
348 ],
349 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100350 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900351 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100352 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200353 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100354 ]
355 },
356 "client": {
357 "timeout": 9,
358 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900359 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100360 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200361 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100362 ]
363 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900364 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100365 },
366 {
367 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400368 "transports": [
369 "buffered",
370 "framed"
371 ],
372 "sockets": [
373 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400374 "ip-ssl",
375 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400376 ],
377 "protocols": [
378 "binary"
379 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100380 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100381 "command": [
382 "perl",
383 "-Igen-perl/",
384 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400385 "TestClient.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900386 "--cert=../keys/client.pem"
Jim Kingf5f1b352015-06-24 13:47:24 -0400387 ]
388 },
389 "server": {
390 "command": [
391 "perl",
392 "-Igen-perl/",
393 "-I../../lib/perl/lib/",
394 "TestServer.pl",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900395 "--cert=../keys/server.pem",
396 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100397 ]
398 },
399 "workdir": "perl"
400 },
401 {
402 "name": "php",
403 "client": {
404 "timeout": 6,
405 "transports": [
406 "buffered",
407 "framed"
408 ],
409 "sockets": [
410 "ip"
411 ],
412 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400413 "binary",
414 "compact",
415 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100416 ],
417 "command": [
418 "php",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100419 "-dextension_dir=../../lib/php/src/ext/thrift_protocol/modules/",
420 "--php-ini=../../lib/php/thrift_protocol.ini",
421 "--no-php-ini",
422 "-ddisplay_errors=stderr",
423 "-dlog_errors=0",
424 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100425 "TestClient.php"
426 ]
427 },
428 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500429 },
430 {
431 "name": "dart",
432 "client": {
433 "transports": [
434 "buffered",
435 "framed",
436 "http"
437 ],
438 "sockets": [
439 "ip"
440 ],
441 "protocols": [
442 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600443 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500444 "json"
445 ],
446 "command": [
447 "dart",
448 "test_client/bin/main.dart"
449 ]
450 },
451 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900452 },
453 {
454 "name": "erl",
455 "transports": [
456 "buffered",
457 "framed"
458 ],
459 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900460 "ip",
461 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900462 ],
463 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900464 "binary",
465 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900466 ],
467 "client": {
468 "command": [
469 "erl",
470 "+K",
471 "true",
472 "-noshell",
473 "-pa",
474 "../../lib/erl/ebin/",
475 "-pa",
476 "./ebin",
477 "-s",
478 "test_client",
479 "-s",
480 "init",
481 "stop",
482 "-extra"
483 ]
484 },
485 "server": {
486 "command": [
487 "erl",
488 "+K",
489 "true",
490 "-noshell",
491 "-pa",
492 "../../lib/erl/ebin/",
493 "-pa",
494 "./ebin",
495 "-s",
496 "test_thrift_server",
497 "-extra"
498 ]
499 },
500 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900501 },
502 {
503 "name": "js",
504 "transports": [
505 "http"
506 ],
507 "sockets": [
508 "ip"
509 ],
510 "protocols": [
511 "json"
512 ],
513 "client": {
514 "command": [
515 "phantomjs",
516 "test/phantom-client.js"
517 ]
518 },
519 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900520 },
521 {
522 "name": "lua",
523 "TODO": "Add dll to LUA_CPATH",
524 "env": {
525 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
526 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
527 },
528 "client": {
529 "timeout": 5,
530 "transports": [
531 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800532 "framed",
533 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900534 ],
535 "sockets": [
536 "ip"
537 ],
538 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900539 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800540 "compact",
541 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900542 ],
543 "command": [
544 "lua",
545 "test_basic_client.lua"
546 ]
547 },
548 "workdir": "lua"
Roger Meier41ad4342015-03-24 22:30:40 +0100549 }
550]