blob: c4e07eefb1e043fb451cbc15b90266f365c9e25b [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": [
James E. King, III37aac3b2017-02-21 14:01:09 -05009 "test_server",
10 "--lt-debug"
Gonzalo Aguilar Delgado87ad2bc2017-09-15 12:26:02 +020011 ],
12 "protocols": [
13 "binary:multi",
James E. King, III58402ff2017-11-17 14:41:46 -050014 "compact:multic"
Roger Meier41ad4342015-03-24 22:30:40 +010015 ]
16 },
17 "client": {
18 "command": [
James E. King, III37aac3b2017-02-21 14:01:09 -050019 "test_client",
20 "--lt-debug"
James E. King, III36628a22017-02-13 15:25:41 -050021 ],
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010022 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -050023 "multi:binary",
24 "multic:compact"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +010025 ],
James E. King, III36628a22017-02-13 15:25:41 -050026 "sockets": [
27 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +010028 ]
29 },
30 "transports": [
31 "buffered",
32 "framed"
33 ],
34 "sockets": [
35 "ip"
36 ],
37 "protocols": [
Chandler May6dde90b2016-01-10 06:01:10 +000038 "binary",
James E. King, III58402ff2017-11-17 14:41:46 -050039 "compact",
40 "multi",
41 "multic"
Roger Meier41ad4342015-03-24 22:30:40 +010042 ],
43 "workdir": "c_glib"
44 },
45 {
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090046 "name": "d",
47 "server": {
48 "command": [
49 "thrift_test_server"
50 ]
51 },
52 "client": {
53 "command": [
54 "thrift_test_client"
55 ]
56 },
57 "transports": [
58 "http",
59 "buffered",
60 "framed"
61 ],
62 "sockets": [
63 "ip",
64 "ip-ssl"
65 ],
66 "protocols": [
67 "binary",
68 "compact",
69 "json"
70 ],
71 "workdir": "../lib/d/test"
72 },
73 {
Roger Meier41ad4342015-03-24 22:30:40 +010074 "name": "go",
75 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +010076 "command": [
77 "testserver",
78 "--certPath=../../keys"
79 ]
80 },
81 "client": {
82 "timeout": 6,
83 "command": [
84 "testclient"
85 ]
86 },
87 "transports": [
88 "buffered",
claudemirof8ca0552016-01-10 23:31:30 -020089 "framed",
90 "http"
Roger Meier41ad4342015-03-24 22:30:40 +010091 ],
92 "sockets": [
93 "ip",
94 "ip-ssl"
95 ],
96 "protocols": [
97 "binary",
98 "compact",
99 "json"
100 ],
101 "workdir": "go/bin"
102 },
103 {
104 "name": "java",
105 "join_args": true,
106 "command": [
107 "ant",
108 "-f",
109 "build.xml",
110 "-Dno-gen-thrift=\"\"",
111 "-Dtestargs"
112 ],
113 "prepare": [
114 "ant",
115 "-f",
116 "build.xml",
117 "compile-test"
118 ],
119 "server": {
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900120 "delay": 10,
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100121 "extra_args": ["run-testserver"],
122 "protocols": [
James E. King, III37aac3b2017-02-21 14:01:09 -0500123 "binary:multi",
124 "compact:multic",
James E. King, III58402ff2017-11-17 14:41:46 -0500125 "json:multij"
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100126 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100127 },
128 "client": {
129 "timeout": 13,
130 "extra_args": ["run-testclient"],
131 "transports": [
132 "http"
James E. King, III58402ff2017-11-17 14:41:46 -0500133 ],
134 "protocols": [
135 "multi:binary",
136 "multic:compact",
137 "multij:json"
Roger Meier41ad4342015-03-24 22:30:40 +0100138 ]
139 },
140 "transports": [
141 "buffered",
142 "framed",
143 "framed:fastframed"
144 ],
145 "sockets": [
James E. King, III06190872017-02-20 08:52:11 -0500146 "ip",
147 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100148 ],
149 "protocols": [
Roger Meier41ad4342015-03-24 22:30:40 +0100150 "binary",
Gonzalo Aguilar Delgadobc0082e2016-03-04 13:16:22 +0100151 "compact",
James E. King, III58402ff2017-11-17 14:41:46 -0500152 "json",
153 "multi",
154 "multic",
155 "multij"
Roger Meier41ad4342015-03-24 22:30:40 +0100156 ],
157 "workdir": "../lib/java"
158 },
159 {
160 "name": "nodejs",
161 "env": {
162 "NODE_PATH": "../lib"
163 },
164 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100165 "command": [
166 "node",
167 "server.js",
168 "--type=tcp"
169 ]
170 },
171 "client": {
James E. King, IIId7142b72017-09-01 13:00:36 -0700172 "timeout": 6,
Roger Meier41ad4342015-03-24 22:30:40 +0100173 "command": [
174 "node",
175 "client.js",
176 "--type=tcp"
177 ]
178 },
179 "transports": [
180 "buffered",
James E. King, III375bfee2017-10-26 00:09:34 -0400181 "framed",
182 "http"
Roger Meier41ad4342015-03-24 22:30:40 +0100183 ],
184 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400185 "ip",
186 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100187 ],
188 "protocols": [
189 "compact",
190 "binary",
191 "json"
192 ],
193 "workdir": "../lib/nodejs/test"
194 },
195 {
196 "name": "hs",
197 "server": {
198 "command": [
199 "TestServer"
200 ]
201 },
202 "client": {
203 "timeout": 6,
Jens Geyerd629ea02015-09-23 21:16:50 +0200204 "transports": [
205 "http"
206 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100207 "command": [
208 "TestClient"
209 ]
210 },
211 "transports": [
212 "buffered",
Jens Geyerd629ea02015-09-23 21:16:50 +0200213 "framed"
Roger Meier41ad4342015-03-24 22:30:40 +0100214 ],
215 "sockets": [
Jens Geyerd629ea02015-09-23 21:16:50 +0200216 "ip"
Roger Meier41ad4342015-03-24 22:30:40 +0100217 ],
218 "protocols": [
Nobuaki Sukegawa3c420072016-01-24 04:01:27 +0900219 "header",
Roger Meier41ad4342015-03-24 22:30:40 +0100220 "compact",
221 "binary",
222 "json"
223 ],
224 "workdir": "hs"
225 },
226 {
227 "name": "py",
228 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100229 "extra_args": ["TSimpleServer"],
230 "command": [
231 "TestServer.py",
Jens Geyerd629ea02015-09-23 21:16:50 +0200232 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100233 "--genpydir=gen-py"
234 ]
235 },
236 "client": {
237 "timeout": 10,
238 "command": [
239 "TestClient.py",
Nobuaki Sukegawae68ccc22015-12-13 21:45:39 +0900240 "--verbose",
Roger Meier41ad4342015-03-24 22:30:40 +0100241 "--host=localhost",
242 "--genpydir=gen-py"
243 ]
244 },
245 "transports": [
246 "buffered",
247 "framed"
248 ],
249 "sockets": [
James E. King, III49f4dc02015-10-29 15:52:23 -0400250 "ip",
251 "ip-ssl"
Roger Meier41ad4342015-03-24 22:30:40 +0100252 ],
253 "protocols": [
254 "compact",
255 "binary",
256 "json",
Nobuaki Sukegawa6525f6a2016-02-11 13:58:39 +0900257 "binary:accel",
258 "compact:accelc"
Roger Meier41ad4342015-03-24 22:30:40 +0100259 ],
260 "workdir": "py"
261 },
262 {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900263 "comment": "Using 'python3' executable to test py2 and 3 at once",
264 "name": "py3",
265 "server": {
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900266 "extra_args": ["TSimpleServer"],
267 "command": [
268 "python3",
269 "TestServer.py",
270 "--verbose",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900271 "--genpydir=gen-py"
272 ]
273 },
274 "client": {
275 "timeout": 10,
276 "command": [
277 "python3",
278 "TestClient.py",
279 "--host=localhost",
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900280 "--genpydir=gen-py"
281 ]
282 },
283 "transports": [
284 "buffered",
285 "framed"
286 ],
287 "sockets": [
288 "ip-ssl",
289 "ip"
290 ],
291 "protocols": [
292 "compact",
293 "binary",
Nobuaki Sukegawa7af189a2016-02-11 16:21:01 +0900294 "json",
295 "binary:accel",
296 "compact:accelc"
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900297 ],
298 "workdir": "py"
299 },
300 {
Roger Meier41ad4342015-03-24 22:30:40 +0100301 "name": "cpp",
302 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100303 "command": [
304 "TestServer"
James E. King, III58402ff2017-11-17 14:41:46 -0500305 ],
306 "protocols": [
307 "binary:multi",
308 "compact:multic",
309 "header:multih",
310 "json:multij"
Roger Meier41ad4342015-03-24 22:30:40 +0100311 ]
312 },
313 "client": {
314 "timeout": 8,
315 "command": [
316 "TestClient"
James E. King, III58402ff2017-11-17 14:41:46 -0500317 ],
318 "protocols": [
319 "multi:binary",
320 "multic:compact",
321 "multih:header",
322 "multij:json"
Roger Meier41ad4342015-03-24 22:30:40 +0100323 ]
324 },
325 "transports": [
326 "buffered",
327 "http",
328 "framed"
329 ],
330 "sockets": [
Roger Meier41ad4342015-03-24 22:30:40 +0100331 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400332 "ip-ssl",
Roger Meier41ad4342015-03-24 22:30:40 +0100333 "domain"
334 ],
335 "protocols": [
336 "compact",
337 "binary",
Dave Watson792db4e2015-01-16 11:22:01 -0800338 "json",
James E. King, III58402ff2017-11-17 14:41:46 -0500339 "header",
340 "multi",
341 "multic",
342 "multih",
343 "multij"
Roger Meier41ad4342015-03-24 22:30:40 +0100344 ],
345 "workdir": "cpp"
346 },
347 {
348 "name": "rb",
349 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100350 "command": [
351 "ruby",
352 "../integration/TestServer.rb"
353 ]
354 },
355 "client": {
356 "timeout": 5,
357 "command": [
358 "ruby",
Nobuaki Sukegawae1e09c72016-02-18 01:03:07 +0900359 "../integration/TestClient.rb"
Roger Meier41ad4342015-03-24 22:30:40 +0100360 ]
361 },
362 "transports": [
363 "buffered",
364 "framed"
365 ],
366 "sockets": [
367 "ip"
368 ],
369 "protocols": [
370 "compact",
371 "binary",
372 "json",
373 "binary:accel"
374 ],
375 "workdir": "rb/gen-rb"
376 },
377 {
378 "name": "csharp",
379 "env": {
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900380 "MONO_PATH": "../../lib/csharp/"
Roger Meier41ad4342015-03-24 22:30:40 +0100381 },
382 "transports": [
383 "buffered",
384 "framed"
385 ],
386 "sockets": [
387 "ip",
388 "ip-ssl"
389 ],
390 "protocols": [
391 "binary",
392 "compact",
393 "json"
394 ],
395 "server": {
Roger Meier41ad4342015-03-24 22:30:40 +0100396 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900397 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100398 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200399 "server"
Roger Meier41ad4342015-03-24 22:30:40 +0100400 ]
401 },
402 "client": {
403 "timeout": 9,
404 "command": [
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +0900405 "mono",
Roger Meier41ad4342015-03-24 22:30:40 +0100406 "TestClientServer.exe",
Jens Geyer178b8132015-09-30 23:16:45 +0200407 "client"
James E. King, III58402ff2017-11-17 14:41:46 -0500408 ],
409 "protocols": [
410 "multi",
411 "multic",
412 "multi:binary",
413 "multic:compact"
Roger Meier41ad4342015-03-24 22:30:40 +0100414 ]
415 },
Nobuaki Sukegawa88c5ee72016-09-04 18:49:18 +0900416 "workdir": "csharp"
Roger Meier41ad4342015-03-24 22:30:40 +0100417 },
418 {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500419 "name": "netcore",
420 "transports": [
421 "buffered",
422 "framed"
423 ],
424 "sockets": [
425 "ip",
426 "ip-ssl"
427 ],
428 "protocols": [
429 "binary",
430 "compact",
431 "json"
432 ],
James E. King, IIIb6287362017-09-28 11:57:42 +0000433 "server-disabled": {
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500434 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000435 "dotnet",
436 "run",
James E. King, III58402ff2017-11-17 14:41:46 -0500437 "--no-build",
438 "--no-restore",
439 "--",
James E. King, IIIb6287362017-09-28 11:57:42 +0000440 "server"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500441 ]
442 },
443 "client": {
444 "timeout": 10,
445 "command": [
James E. King, IIIb6287362017-09-28 11:57:42 +0000446 "dotnet",
447 "run",
James E. King, III58402ff2017-11-17 14:41:46 -0500448 "--no-build",
449 "--no-restore",
450 "--",
James E. King, IIIb6287362017-09-28 11:57:42 +0000451 "client"
Volodymyr Gotrab587a122016-09-14 19:18:48 -0500452 ]
453 },
454 "workdir": "netcore/ThriftTest"
455 },
456 {
Roger Meier41ad4342015-03-24 22:30:40 +0100457 "name": "perl",
Jim Kingf5f1b352015-06-24 13:47:24 -0400458 "transports": [
459 "buffered",
460 "framed"
461 ],
462 "sockets": [
463 "ip",
James E. King, III49f4dc02015-10-29 15:52:23 -0400464 "ip-ssl",
465 "domain"
Jim Kingf5f1b352015-06-24 13:47:24 -0400466 ],
467 "protocols": [
James E. King, III20e16bc2017-11-18 22:37:54 -0500468 "binary",
469 "multi"
Jim Kingf5f1b352015-06-24 13:47:24 -0400470 ],
Roger Meier41ad4342015-03-24 22:30:40 +0100471 "client": {
Roger Meier41ad4342015-03-24 22:30:40 +0100472 "command": [
473 "perl",
474 "-Igen-perl/",
475 "-I../../lib/perl/lib/",
Jim Kingf5f1b352015-06-24 13:47:24 -0400476 "TestClient.pl",
James E. King, III377719c2017-02-15 14:33:20 -0500477 "--ca=../keys/CA.pem",
James E. King, III06190872017-02-20 08:52:11 -0500478 "--cert=../keys/client.crt",
James E. King, III377719c2017-02-15 14:33:20 -0500479 "--key=../keys/client.key"
James E. King, III20e16bc2017-11-18 22:37:54 -0500480 ],
481 "protocols": [
482 "multi:binary"
Jim Kingf5f1b352015-06-24 13:47:24 -0400483 ]
484 },
485 "server": {
486 "command": [
487 "perl",
488 "-Igen-perl/",
489 "-I../../lib/perl/lib/",
490 "TestServer.pl",
James E. King, III06190872017-02-20 08:52:11 -0500491 "--cert=../keys/server.crt",
Nobuaki Sukegawa59310f52016-02-18 01:41:46 +0900492 "--key=../keys/server.key"
James E. King, III20e16bc2017-11-18 22:37:54 -0500493 ],
494 "protocols": [
495 "binary:multi"
Roger Meier41ad4342015-03-24 22:30:40 +0100496 ]
497 },
498 "workdir": "perl"
499 },
500 {
501 "name": "php",
502 "client": {
503 "timeout": 6,
504 "transports": [
505 "buffered",
506 "framed"
507 ],
508 "sockets": [
509 "ip"
510 ],
511 "protocols": [
Jim King5903d672015-06-29 18:12:48 -0400512 "binary",
513 "compact",
514 "binary:accel"
Roger Meier41ad4342015-03-24 22:30:40 +0100515 ],
516 "command": [
517 "php",
HÃ¥kon Hitland9462edb2017-07-25 16:38:26 +0200518 "-dextension_dir=php_ext_dir",
519 "--php-ini=test_php.ini",
HÃ¥kon Hitlandf39d4c82016-11-17 16:18:03 +0100520 "--no-php-ini",
521 "-ddisplay_errors=stderr",
522 "-dlog_errors=0",
523 "-derror_reporting=E_ALL",
Roger Meier41ad4342015-03-24 22:30:40 +0100524 "TestClient.php"
525 ]
526 },
527 "workdir": "php"
Mark Erickson932c4702015-08-29 10:46:51 -0500528 },
529 {
530 "name": "dart",
531 "client": {
532 "transports": [
533 "buffered",
534 "framed",
535 "http"
536 ],
537 "sockets": [
538 "ip"
539 ],
540 "protocols": [
541 "binary",
Mark Ericksonb5f126f2016-02-29 15:27:59 -0600542 "compact",
Mark Erickson932c4702015-08-29 10:46:51 -0500543 "json"
544 ],
545 "command": [
546 "dart",
547 "test_client/bin/main.dart"
548 ]
549 },
550 "workdir": "dart"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900551 },
552 {
553 "name": "erl",
554 "transports": [
555 "buffered",
556 "framed"
557 ],
558 "sockets": [
Nobuaki Sukegawaf58bca72015-10-31 12:17:51 +0900559 "ip",
560 "ip-ssl"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900561 ],
562 "protocols": [
Nobuaki Sukegawab31f0902015-11-01 17:00:34 +0900563 "binary",
564 "compact"
Nobuaki Sukegawa826ea992015-10-28 22:19:45 +0900565 ],
566 "client": {
567 "command": [
568 "erl",
569 "+K",
570 "true",
571 "-noshell",
572 "-pa",
573 "../../lib/erl/ebin/",
574 "-pa",
575 "./ebin",
576 "-s",
577 "test_client",
578 "-s",
579 "init",
580 "stop",
581 "-extra"
582 ]
583 },
584 "server": {
585 "command": [
586 "erl",
587 "+K",
588 "true",
589 "-noshell",
590 "-pa",
591 "../../lib/erl/ebin/",
592 "-pa",
593 "./ebin",
594 "-s",
595 "test_thrift_server",
596 "-extra"
597 ]
598 },
599 "workdir": "erl"
Nobuaki Sukegawa6defea52015-11-14 17:36:29 +0900600 },
601 {
602 "name": "js",
603 "transports": [
604 "http"
605 ],
606 "sockets": [
607 "ip"
608 ],
609 "protocols": [
610 "json"
611 ],
612 "client": {
613 "command": [
614 "phantomjs",
615 "test/phantom-client.js"
616 ]
617 },
618 "workdir": "../lib/js"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900619 },
620 {
621 "name": "lua",
622 "TODO": "Add dll to LUA_CPATH",
623 "env": {
624 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
625 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
626 },
627 "client": {
628 "timeout": 5,
629 "transports": [
630 "buffered",
Wang Yaofue432c6b2016-03-09 16:39:03 +0800631 "framed",
632 "http"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900633 ],
634 "sockets": [
635 "ip"
636 ],
637 "protocols": [
Nobuaki Sukegawaebd71ce2016-02-04 21:28:22 +0900638 "binary",
Wang Yaofu19a3a272016-02-14 18:15:45 +0800639 "compact",
640 "json"
Nobuaki Sukegawad094e792016-02-01 21:47:49 +0900641 ],
642 "command": [
643 "lua",
644 "test_basic_client.lua"
645 ]
646 },
647 "workdir": "lua"
Allen George8b96bfb2016-11-02 08:01:08 -0400648 },
649 {
650 "name": "rs",
Allen Georgebc1344d2017-04-28 10:22:03 -0400651 "env": {
652 "RUST_BACKTRACE": "1",
653 "RUST_LOG": "info"
654 },
Allen George8b96bfb2016-11-02 08:01:08 -0400655 "server": {
656 "command": [
657 "test_server"
James E. King, III58402ff2017-11-17 14:41:46 -0500658 ],
659 "protocols": [
660 "binary:multi",
661 "compact:multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400662 ]
663 },
664 "client": {
665 "timeout": 6,
666 "command": [
667 "test_client"
James E. King, III58402ff2017-11-17 14:41:46 -0500668 ],
669 "protocols": [
670 "multi:binary",
671 "multic:compact"
Allen George8b96bfb2016-11-02 08:01:08 -0400672 ]
673 },
Allen Georgebc1344d2017-04-28 10:22:03 -0400674 "sockets": [
675 "ip"
676 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400677 "transports": [
678 "buffered",
679 "framed"
680 ],
Allen George8b96bfb2016-11-02 08:01:08 -0400681 "protocols": [
682 "binary",
Allen Georgebc1344d2017-04-28 10:22:03 -0400683 "compact",
684 "multi",
685 "multic"
Allen George8b96bfb2016-11-02 08:01:08 -0400686 ],
687 "workdir": "rs/bin"
Roger Meier41ad4342015-03-24 22:30:40 +0100688 }
689]