blob: e228928160c920f1ac01a3534de71fdf9c598d7f [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"
James E. King, III36628a22017-02-13 15:25:41 -050015 ],
16 "sockets": [
17 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010018 ]
19 },
20 "transports": [
21 "buffered",
22 "framed"
23 ],
24 "sockets": [
25 "ip"
26 ],
27 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000028 "binary",
29 "compact"
Roger Meier41ad4342015-03-24 22:30:40 +010030 ],
31 "workdir": "c_glib"
32 },
33 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090034 "name": "d",
35 "server": {
36 "command": [
37 "thrift_test_server"
38 ]
39 },
40 "client": {
41 "command": [
42 "thrift_test_client"
43 ]
44 },
45 "transports": [
46 "http",
47 "buffered",
48 "framed"
49 ],
50 "sockets": [
51 "ip",
52 "ip-ssl"
53 ],
54 "protocols": [
55 "binary",
56 "compact",
57 "json"
58 ],
59 "workdir": "../lib/d/test"
60 },
61 {
Roger Meier41ad4342015-03-24 22:30:40 +010062 "name": "go",
63 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010064 "command": [
65 "testserver",
66 "--certPath=../../keys"
67 ]
68 },
69 "client": {
70 "timeout": 6,
71 "command": [
72 "testclient"
73 ]
74 },
75 "transports": [
76 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020077 "framed",
78 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010079 ],
80 "sockets": [
81 "ip",
82 "ip-ssl"
83 ],
84 "protocols": [
85 "binary",
86 "compact",
87 "json"
88 ],
89 "workdir": "go/bin"
90 },
91 {
92 "name": "java",
93 "join_args": true,
94 "command": [
95 "ant",
96 "-f",
97 "build.xml",
98 "-Dno-gen-thrift=\"\"",
99 "-Dtestargs"
100 ],
101 "prepare": [
102 "ant",
103 "-f",
104 "build.xml",
105 "compile-test"
106 ],
107 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900108 "delay": 10,
Roger Meier41ad4342015-03-24 22:30:40 +0100109 "extra_args": ["run-testserver"]
110 },
111 "client": {
112 "timeout": 13,
113 "extra_args": ["run-testclient"],
114 "transports": [
115 "http"
116 ]
117 },
118 "transports": [
119 "buffered",
120 "framed",
121 "framed:fastframed"
122 ],
123 "sockets": [
124 "ip-ssl",
125 "ip"
126 ],
127 "protocols": [
128 "compact",
129 "binary",
130 "json"
131 ],
132 "workdir": "../lib/java"
133 },
134 {
135 "name": "nodejs",
136 "env": {
137 "NODE_PATH": "../lib"
138 },
139 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100140 "command": [
141 "node",
142 "server.js",
143 "--type=tcp"
144 ]
145 },
146 "client": {
147 "timeout": 2.9,
148 "command": [
149 "node",
150 "client.js",
151 "--type=tcp"
152 ]
153 },
154 "transports": [
155 "buffered",
156 "framed"
157 ],
158 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400159 "ip",
160 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100161 ],
162 "protocols": [
163 "compact",
164 "binary",
165 "json"
166 ],
167 "workdir": "../lib/nodejs/test"
168 },
169 {
170 "name": "hs",
171 "server": {
172 "command": [
173 "TestServer"
174 ]
175 },
176 "client": {
177 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200178 "transports": [
179 "http"
180 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100181 "command": [
182 "TestClient"
183 ]
184 },
185 "transports": [
186 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200187 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100188 ],
189 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200190 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100191 ],
192 "protocols": [
193 "compact",
194 "binary",
195 "json"
196 ],
197 "workdir": "hs"
198 },
199 {
200 "name": "py",
201 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100202 "extra_args": ["TSimpleServer"],
203 "command": [
204 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200205 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100206 "--genpydir=gen-py"
207 ]
208 },
209 "client": {
210 "timeout": 10,
211 "command": [
212 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900213 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100214 "--host=localhost",
215 "--genpydir=gen-py"
216 ]
217 },
218 "transports": [
219 "buffered",
220 "framed"
221 ],
222 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400223 "ip",
224 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100225 ],
226 "protocols": [
227 "compact",
228 "binary",
229 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900230 "binary:accel",
231 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100232 ],
233 "workdir": "py"
234 },
235 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900236 "comment": "Using 'python3' executable to test py2 and 3 at once",
237 "name": "py3",
238 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900239 "extra_args": ["TSimpleServer"],
240 "command": [
241 "python3",
242 "TestServer.py",
243 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900244 "--genpydir=gen-py"
245 ]
246 },
247 "client": {
248 "timeout": 10,
249 "command": [
250 "python3",
251 "TestClient.py",
252 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900253 "--genpydir=gen-py"
254 ]
255 },
256 "transports": [
257 "buffered",
258 "framed"
259 ],
260 "sockets": [
261 "ip-ssl",
262 "ip"
263 ],
264 "protocols": [
265 "compact",
266 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900267 "json",
268 "binary:accel",
269 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900270 ],
271 "workdir": "py"
272 },
273 {
Roger Meier41ad4342015-03-24 22:30:40 +0100274 "name": "cpp",
275 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100276 "command": [
277 "TestServer"
278 ]
279 },
280 "client": {
281 "timeout": 8,
282 "command": [
283 "TestClient"
284 ]
285 },
286 "transports": [
287 "buffered",
288 "http",
289 "framed"
290 ],
291 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100292 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400293 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100294 "domain"
295 ],
296 "protocols": [
297 "compact",
298 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800299 "json",
300 "header"
Roger Meier41ad4342015-03-24 22:30:40 +0100301 ],
302 "workdir": "cpp"
303 },
304 {
305 "name": "rb",
306 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100307 "command": [
308 "ruby",
309 "../integration/TestServer.rb"
310 ]
311 },
312 "client": {
313 "timeout": 5,
314 "command": [
315 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900316 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100317 ]
318 },
319 "transports": [
320 "buffered",
321 "framed"
322 ],
323 "sockets": [
324 "ip"
325 ],
326 "protocols": [
327 "compact",
328 "binary",
329 "json",
330 "binary:accel"
331 ],
332 "workdir": "rb/gen-rb"
333 },
334 {
335 "name": "csharp",
336 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900337 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100338 },
339 "transports": [
340 "buffered",
341 "framed"
342 ],
343 "sockets": [
344 "ip",
345 "ip-ssl"
346 ],
347 "protocols": [
348 "binary",
349 "compact",
350 "json"
351 ],
352 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100353 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900354 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100355 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200356 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100357 ]
358 },
359 "client": {
360 "timeout": 9,
361 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900362 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100363 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200364 "client"
Roger Meier41ad4342015-03-24 22:30:40 +0100365 ]
366 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900367 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100368 },
369 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500370 "name": "netcore",
371 "transports": [
372 "buffered",
373 "framed"
374 ],
375 "sockets": [
376 "ip",
377 "ip-ssl"
378 ],
379 "protocols": [
380 "binary",
381 "compact",
382 "json"
383 ],
384 "server": {
385 "command": [
386 "dotnet restore && dotnet run server"
387 ]
388 },
389 "client": {
390 "timeout": 10,
391 "command": [
392 "dotnet run client"
393 ]
394 },
395 "workdir": "netcore/ThriftTest"
396 },
397 {
Roger Meier41ad4342015-03-24 22:30:40 +0100398 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400399 "transports": [
400 "buffered",
401 "framed"
402 ],
403 "sockets": [
404 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400405 "ip-ssl",
406 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400407 ],
408 "protocols": [
409 "binary"
410 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100411 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100412 "command": [
413 "perl",
414 "-Igen-perl/",
415 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400416 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500417 "--ca=../keys/CA.pem",
418 "--cert=../keys/client.pem",
419 "--key=../keys/client.key"
Jim Kingf5f1b352015-06-24 13:47:24 -0400420 ]
421 },
422 "server": {
423 "command": [
424 "perl",
425 "-Igen-perl/",
426 "-I../../lib/perl/lib/",
427 "TestServer.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500428 "--ca=../keys/CA.pem",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900429 "--cert=../keys/server.pem",
430 "--key=../keys/server.key"
Roger Meier41ad4342015-03-24 22:30:40 +0100431 ]
432 },
433 "workdir": "perl"
434 },
435 {
436 "name": "php",
437 "client": {
438 "timeout": 6,
439 "transports": [
440 "buffered",
441 "framed"
442 ],
443 "sockets": [
444 "ip"
445 ],
446 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400447 "binary",
448 "compact",
449 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100450 ],
451 "command": [
452 "php",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100453 "-dextension_dir=../../lib/php/src/ext/thrift_protocol/modules/",
454 "--php-ini=../../lib/php/thrift_protocol.ini",
455 "--no-php-ini",
456 "-ddisplay_errors=stderr",
457 "-dlog_errors=0",
458 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100459 "TestClient.php"
460 ]
461 },
462 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500463 },
464 {
465 "name": "dart",
466 "client": {
467 "transports": [
468 "buffered",
469 "framed",
470 "http"
471 ],
472 "sockets": [
473 "ip"
474 ],
475 "protocols": [
476 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600477 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500478 "json"
479 ],
480 "command": [
481 "dart",
482 "test_client/bin/main.dart"
483 ]
484 },
485 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900486 },
487 {
488 "name": "erl",
489 "transports": [
490 "buffered",
491 "framed"
492 ],
493 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900494 "ip",
495 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900496 ],
497 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900498 "binary",
499 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900500 ],
501 "client": {
502 "command": [
503 "erl",
504 "+K",
505 "true",
506 "-noshell",
507 "-pa",
508 "../../lib/erl/ebin/",
509 "-pa",
510 "./ebin",
511 "-s",
512 "test_client",
513 "-s",
514 "init",
515 "stop",
516 "-extra"
517 ]
518 },
519 "server": {
520 "command": [
521 "erl",
522 "+K",
523 "true",
524 "-noshell",
525 "-pa",
526 "../../lib/erl/ebin/",
527 "-pa",
528 "./ebin",
529 "-s",
530 "test_thrift_server",
531 "-extra"
532 ]
533 },
534 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900535 },
536 {
537 "name": "js",
538 "transports": [
539 "http"
540 ],
541 "sockets": [
542 "ip"
543 ],
544 "protocols": [
545 "json"
546 ],
547 "client": {
548 "command": [
549 "phantomjs",
550 "test/phantom-client.js"
551 ]
552 },
553 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900554 },
555 {
556 "name": "lua",
557 "TODO": "Add dll to LUA_CPATH",
558 "env": {
559 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
560 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
561 },
562 "client": {
563 "timeout": 5,
564 "transports": [
565 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800566 "framed",
567 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900568 ],
569 "sockets": [
570 "ip"
571 ],
572 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900573 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800574 "compact",
575 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900576 ],
577 "command": [
578 "lua",
579 "test_basic_client.lua"
580 ]
581 },
582 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400583 },
584 {
585 "name": "rs",
586 "server": {
587 "command": [
588 "test_server"
589 ]
590 },
591 "client": {
592 "timeout": 6,
593 "command": [
594 "test_client"
595 ]
596 },
597 "transports": [
598 "buffered",
599 "framed"
600 ],
601 "sockets": [
602 "ip"
603 ],
604 "protocols": [
605 "binary",
606 "compact"
607 ],
608 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100609 }
610]