blob: dbee398a3be1b082619cae5d3fc19a7dbf6bf607 [file] [log] [blame]
Alex Volanis7004a612018-01-24 10:30:13 -05001[
2 {
3 "name": "c_glib",
4 "platforms": [
5 "Linux"
6 ],
7 "server": {
8 "command": [
9 "test_server",
10 "--lt-debug"
11 ],
12 "protocols": [
13 "binary:multi",
14 "compact:multic"
15 ]
Roger Meier41ad4342015-03-24 22:30:40 +010016 },
Alex Volanis7004a612018-01-24 10:30:13 -050017 "client": {
18 "command": [
19 "test_client",
20 "--lt-debug"
21 ],
22 "protocols": [
23 "multi:binary",
24 "multic:compact"
25 ],
26 "sockets": [
27 "ip-ssl"
28 ]
Roger Meier41ad4342015-03-24 22:30:40 +010029 },
Alex Volanis7004a612018-01-24 10:30:13 -050030 "transports": [
31 "buffered",
32 "framed"
33 ],
34 "sockets": [
Kevin Wojniak6c847d22019-07-01 17:11:56 -070035 "ip",
36 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -050037 ],
38 "protocols": [
39 "binary",
40 "compact",
41 "multi",
42 "multic"
43 ],
44 "workdir": "c_glib"
45 },
46 {
Tomek Kurcze93a9012017-09-19 09:16:43 +020047 "name": "cl",
48 "server": {
49 "command": ["TestServer"],
50 "workdir": "cl",
51 "protocols": ["binary", "multi"],
52 "transports": ["buffered", "framed"],
53 "sockets": ["ip"]
54 },
55 "client": {
56 "command": ["TestClient"],
57 "workdir": "cl",
58 "protocols": ["binary", "multi"],
59 "transports": ["buffered", "framed"],
60 "sockets": ["ip"]
61 }
62 },
63 {
Alex Volanis7004a612018-01-24 10:30:13 -050064 "name": "d",
65 "server": {
66 "command": [
James E. King III9bea32f2018-03-16 16:07:42 -040067 "thrift_test_server",
James E. King III6f8c99e2018-03-24 16:32:02 -040068 "--trace"
Alex Volanis7004a612018-01-24 10:30:13 -050069 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090070 },
Alex Volanis7004a612018-01-24 10:30:13 -050071 "client": {
72 "command": [
73 "thrift_test_client"
74 ]
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090075 },
Alex Volanis7004a612018-01-24 10:30:13 -050076 "transports": [
77 "http",
78 "buffered",
Kengo Sekif0c761e2020-01-09 18:48:29 +090079 "framed",
80 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -050081 ],
82 "sockets": [
83 "ip",
84 "ip-ssl"
85 ],
86 "protocols": [
87 "binary",
88 "compact",
89 "json"
90 ],
91 "workdir": "../lib/d/test"
92 },
93 {
94 "name": "go",
95 "server": {
96 "command": [
97 "testserver",
98 "--certPath=../../keys"
99 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100100 },
Alex Volanis7004a612018-01-24 10:30:13 -0500101 "client": {
102 "timeout": 6,
103 "command": [
104 "testclient"
105 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100106 },
Alex Volanis7004a612018-01-24 10:30:13 -0500107 "transports": [
108 "buffered",
109 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000110 "http",
111 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500112 ],
113 "sockets": [
114 "ip",
115 "ip-ssl"
116 ],
117 "protocols": [
118 "binary",
119 "compact",
Yuxuan 'fishy' Wang4d46c112019-06-07 20:47:18 +0800120 "json",
121 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500122 ],
123 "workdir": "go/bin"
124 },
125 {
126 "name": "java",
127 "join_args": false,
128 "server": {
129 "delay": 15,
130 "command": [
131 "build/runserver"
132 ],
133 "protocols": [
134 "binary:multi",
135 "compact:multic",
136 "json:multij"
137 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100138 },
Alex Volanis7004a612018-01-24 10:30:13 -0500139 "client": {
140 "timeout": 13,
141 "command": [
142 "build/runclient"
143 ],
144 "transports": [
145 "http"
146 ],
147 "protocols": [
148 "multi:binary",
149 "multic:compact",
150 "multij:json"
151 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100152 },
Alex Volanis7004a612018-01-24 10:30:13 -0500153 "transports": [
154 "buffered",
155 "framed",
Kengo Sekic97e6aa2020-01-10 01:11:15 +0900156 "framed:fastframed",
157 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500158 ],
159 "sockets": [
160 "ip",
161 "ip-ssl"
162 ],
163 "protocols": [
164 "binary",
165 "compact",
166 "json",
167 "multi",
168 "multic",
169 "multij"
170 ],
171 "workdir": "../lib/java"
172 },
173 {
174 "name": "nodejs",
175 "env": {
176 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100177 },
Alex Volanis7004a612018-01-24 10:30:13 -0500178 "server": {
179 "command": [
180 "node",
181 "server.js",
182 "--type=tcp"
183 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100184 },
Alex Volanis7004a612018-01-24 10:30:13 -0500185 "client": {
186 "timeout": 6,
187 "command": [
188 "node",
189 "client.js",
190 "--type=tcp"
191 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100192 },
Alex Volanis7004a612018-01-24 10:30:13 -0500193 "transports": [
194 "buffered",
195 "framed",
196 "http"
197 ],
198 "sockets": [
199 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800200 "ip-ssl",
201 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500202 ],
203 "protocols": [
204 "compact",
205 "binary",
David Maiddd22242019-02-22 03:37:49 -0800206 "json",
207 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500208 ],
209 "workdir": "../lib/nodejs/test"
210 },
211 {
212 "name": "hs",
213 "server": {
214 "command": [
215 "TestServer"
216 ]
217 },
218 "client": {
219 "timeout": 6,
220 "transports": [
221 "http"
222 ],
223 "command": [
224 "TestClient"
225 ]
226 },
227 "transports": [
228 "buffered",
229 "framed"
230 ],
231 "sockets": [
232 "ip"
233 ],
234 "protocols": [
235 "header",
236 "compact",
237 "binary",
238 "json"
239 ],
240 "workdir": "hs"
241 },
242 {
243 "name": "py",
244 "server": {
245 "extra_args": ["TSimpleServer"],
246 "command": [
247 "TestServer.py",
248 "--verbose",
249 "--genpydir=gen-py"
250 ]
251 },
252 "client": {
253 "timeout": 10,
254 "command": [
255 "TestClient.py",
256 "--verbose",
257 "--host=localhost",
258 "--genpydir=gen-py"
259 ]
260 },
261 "transports": [
262 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400263 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000264 "http",
265 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500266 ],
267 "sockets": [
268 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900269 "ip-ssl",
270 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500271 ],
272 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500273 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500274 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500275 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700276 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500277 "header",
278 "json",
279 "multi",
280 "multi:multia",
281 "multia",
282 "multiac",
283 "multic",
284 "multic:multiac",
285 "multih",
286 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500287 ],
288 "workdir": "py"
289 },
290 {
291 "comment": "Using 'python3' executable to test py2 and 3 at once",
292 "name": "py3",
293 "server": {
294 "extra_args": ["TSimpleServer"],
295 "command": [
296 "python3",
297 "TestServer.py",
298 "--verbose",
299 "--genpydir=gen-py"
300 ]
301 },
302 "client": {
303 "timeout": 10,
304 "command": [
305 "python3",
306 "TestClient.py",
307 "--host=localhost",
308 "--genpydir=gen-py"
309 ]
310 },
311 "transports": [
312 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400313 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000314 "http",
315 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500316 ],
317 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400318 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900319 "ip-ssl",
320 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500321 ],
322 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500323 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500324 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500325 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700326 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500327 "header",
328 "json",
329 "multi",
330 "multi:multia",
331 "multia",
332 "multiac",
333 "multic",
334 "multic:multiac",
335 "multih",
336 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500337 ],
338 "workdir": "py"
339 },
340 {
341 "name": "cpp",
342 "server": {
343 "command": [
344 "TestServer"
345 ],
346 "protocols": [
347 "binary:multi",
348 "compact:multic",
349 "header:multih",
350 "json:multij"
351 ]
352 },
353 "client": {
354 "timeout": 8,
355 "command": [
356 "TestClient"
357 ],
358 "protocols": [
359 "multi:binary",
360 "multic:compact",
361 "multih:header",
362 "multij:json"
363 ]
364 },
365 "transports": [
366 "buffered",
367 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000368 "framed",
369 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500370 ],
371 "sockets": [
372 "ip",
373 "ip-ssl",
374 "domain"
375 ],
376 "protocols": [
377 "compact",
378 "binary",
379 "json",
380 "header",
381 "multi",
382 "multic",
383 "multih",
384 "multij"
385 ],
386 "workdir": "cpp"
387 },
388 {
389 "name": "rb",
390 "server": {
391 "command": [
392 "ruby",
393 "../integration/TestServer.rb"
394 ]
395 },
396 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500397 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500398 "command": [
399 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400400 "../integration/TestClient.rb",
401 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500402 ]
403 },
404 "transports": [
405 "buffered",
406 "framed"
407 ],
408 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400409 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400410 "ip",
411 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500412 ],
413 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500414 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400415 "binary:accel",
416 "compact",
417 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500418 ],
419 "workdir": "rb/gen-rb"
420 },
421 {
422 "name": "csharp",
423 "env": {
424 "MONO_PATH": "../../lib/csharp/"
425 },
426 "transports": [
427 "buffered",
428 "framed"
429 ],
430 "sockets": [
431 "ip",
432 "ip-ssl"
433 ],
434 "protocols": [
435 "binary",
436 "compact",
437 "json"
438 ],
439 "server": {
440 "command": [
441 "mono",
442 "TestClientServer.exe",
443 "server"
444 ]
445 },
446 "client": {
447 "timeout": 9,
448 "command": [
449 "mono",
450 "TestClientServer.exe",
451 "client"
452 ],
453 "protocols": [
454 "multi",
455 "multic",
456 "multi:binary",
457 "multic:compact"
458 ]
459 },
460 "workdir": "csharp"
461 },
462 {
463 "name": "netcore",
464 "transports": [
465 "buffered",
466 "framed"
467 ],
468 "sockets": [
469 "ip",
470 "ip-ssl"
471 ],
472 "protocols": [
473 "binary",
474 "compact",
475 "json"
476 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400477 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500478 "command": [
479 "dotnet",
480 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400481 "--no-build",
482 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500483 "server"
484 ]
485 },
486 "client": {
487 "timeout": 10,
488 "command": [
489 "dotnet",
490 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400491 "--no-build",
492 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500493 "client"
494 ]
495 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200496 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500497 },
498 {
499 "name": "perl",
500 "transports": [
501 "buffered",
502 "framed"
503 ],
504 "sockets": [
505 "ip",
506 "ip-ssl",
507 "domain"
508 ],
509 "protocols": [
510 "binary",
511 "multi"
512 ],
513 "client": {
514 "command": [
515 "perl",
516 "-Igen-perl/",
517 "-I../../lib/perl/lib/",
518 "TestClient.pl",
519 "--ca=../keys/CA.pem",
520 "--cert=../keys/client.crt",
521 "--key=../keys/client.key"
522 ],
523 "protocols": [
524 "multi:binary"
525 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100526 },
Alex Volanis7004a612018-01-24 10:30:13 -0500527 "server": {
528 "command": [
529 "perl",
530 "-Igen-perl/",
531 "-I../../lib/perl/lib/",
532 "TestServer.pl",
533 "--cert=../keys/server.crt",
534 "--key=../keys/server.key"
535 ],
536 "protocols": [
537 "binary:multi"
538 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100539 },
Alex Volanis7004a612018-01-24 10:30:13 -0500540 "workdir": "perl"
541 },
542 {
543 "name": "php",
544 "client": {
545 "timeout": 6,
546 "transports": [
547 "buffered",
548 "framed"
549 ],
550 "sockets": [
551 "ip"
552 ],
553 "protocols": [
554 "binary",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500555 "binary:accel",
Alex Volanis7004a612018-01-24 10:30:13 -0500556 "compact",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500557 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500558 ],
559 "command": [
560 "php",
561 "-dextension_dir=php_ext_dir",
562 "--php-ini=test_php.ini",
563 "--no-php-ini",
564 "-ddisplay_errors=stderr",
565 "-dlog_errors=0",
566 "-derror_reporting=E_ALL",
567 "TestClient.php"
568 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100569 },
Alex Volanis7004a612018-01-24 10:30:13 -0500570 "workdir": "php"
571 },
572 {
573 "name": "dart",
574 "client": {
James E. King IIIb1d63e72019-01-22 14:16:39 -0500575 "timeout": 30,
Alex Volanis7004a612018-01-24 10:30:13 -0500576 "transports": [
577 "buffered",
578 "framed",
579 "http"
580 ],
581 "sockets": [
582 "ip"
583 ],
584 "protocols": [
585 "binary",
586 "compact",
587 "json"
588 ],
589 "command": [
590 "dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400591 "--enable-asserts",
James E. King III98f379e2019-01-22 09:22:04 -0500592 "test_client/bin/main.dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400593 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500594 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100595 },
Alex Volanis7004a612018-01-24 10:30:13 -0500596 "workdir": "dart"
597 },
598 {
599 "name": "erl",
600 "transports": [
601 "buffered",
602 "framed"
603 ],
604 "sockets": [
605 "ip",
606 "ip-ssl"
607 ],
608 "protocols": [
609 "binary",
610 "compact"
611 ],
612 "client": {
613 "command": [
614 "erl",
615 "+K",
616 "true",
617 "-noshell",
618 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400619 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500620 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400621 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500622 "-s",
623 "test_client",
624 "-s",
625 "init",
626 "stop",
627 "-extra"
628 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900629 },
Alex Volanis7004a612018-01-24 10:30:13 -0500630 "server": {
631 "command": [
632 "erl",
633 "+K",
634 "true",
635 "-noshell",
636 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400637 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500638 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400639 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500640 "-s",
641 "test_thrift_server",
642 "-extra"
643 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900644 },
Alex Volanis7004a612018-01-24 10:30:13 -0500645 "workdir": "erl"
646 },
647 {
648 "name": "js",
649 "transports": [
650 "http"
651 ],
652 "sockets": [
653 "ip"
654 ],
655 "protocols": [
656 "json"
657 ],
658 "client": {
659 "command": [
660 "phantomjs",
661 "test/phantom-client.js"
662 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100663 },
Alex Volanis7004a612018-01-24 10:30:13 -0500664 "workdir": "../lib/js"
665 },
666 {
667 "name": "lua",
668 "TODO": "Add dll to LUA_CPATH",
669 "env": {
670 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
671 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
672 },
673 "client": {
674 "timeout": 5,
675 "transports": [
676 "buffered",
677 "framed",
678 "http"
679 ],
680 "sockets": [
681 "ip"
682 ],
683 "protocols": [
684 "binary",
685 "compact",
686 "json"
687 ],
688 "command": [
689 "lua",
690 "test_basic_client.lua"
691 ]
692 },
693 "workdir": "lua"
694 },
695 {
696 "name": "rs",
697 "env": {
698 "RUST_BACKTRACE": "1",
699 "RUST_LOG": "info"
700 },
701 "server": {
702 "command": [
703 "test_server"
704 ],
705 "protocols": [
706 "binary:multi",
707 "compact:multic"
708 ]
709 },
710 "client": {
711 "timeout": 6,
712 "command": [
713 "test_client"
714 ],
715 "protocols": [
716 "multi:binary",
717 "multic:compact"
718 ]
719 },
720 "sockets": [
721 "ip"
722 ],
723 "transports": [
724 "buffered",
725 "framed"
726 ],
727 "protocols": [
728 "binary",
729 "compact",
730 "multi",
731 "multic"
732 ],
733 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900734 },
735 {
736 "name": "nodets",
737 "env": {
738 "NODE_PATH": "../lib"
739 },
740 "server": {
741 "command": [
742 "runServer.sh"
743 ]
744 },
745 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300746 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900747 "command": [
748 "runClient.sh"
749 ]
750 },
751 "protocols": [
752 "binary"
753 ],
754 "sockets": [
755 "ip"
756 ],
757 "transports": [
758 "buffered"
759 ],
760 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500761 }
762]