blob: fc9046b49a25076b5f5ed4fb2681a304fdb1f203 [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",
79 "framed"
80 ],
81 "sockets": [
82 "ip",
83 "ip-ssl"
84 ],
85 "protocols": [
86 "binary",
87 "compact",
88 "json"
89 ],
90 "workdir": "../lib/d/test"
91 },
92 {
93 "name": "go",
94 "server": {
95 "command": [
96 "testserver",
97 "--certPath=../../keys"
98 ]
Roger Meier41ad4342015-03-24 22:30:40 +010099 },
Alex Volanis7004a612018-01-24 10:30:13 -0500100 "client": {
101 "timeout": 6,
102 "command": [
103 "testclient"
104 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100105 },
Alex Volanis7004a612018-01-24 10:30:13 -0500106 "transports": [
107 "buffered",
108 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000109 "http",
110 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500111 ],
112 "sockets": [
113 "ip",
114 "ip-ssl"
115 ],
116 "protocols": [
117 "binary",
118 "compact",
Yuxuan 'fishy' Wang4d46c112019-06-07 20:47:18 +0800119 "json",
120 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500121 ],
122 "workdir": "go/bin"
123 },
124 {
125 "name": "java",
126 "join_args": false,
127 "server": {
128 "delay": 15,
129 "command": [
130 "build/runserver"
131 ],
132 "protocols": [
133 "binary:multi",
134 "compact:multic",
135 "json:multij"
136 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100137 },
Alex Volanis7004a612018-01-24 10:30:13 -0500138 "client": {
139 "timeout": 13,
140 "command": [
141 "build/runclient"
142 ],
143 "transports": [
144 "http"
145 ],
146 "protocols": [
147 "multi:binary",
148 "multic:compact",
149 "multij:json"
150 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100151 },
Alex Volanis7004a612018-01-24 10:30:13 -0500152 "transports": [
153 "buffered",
154 "framed",
Kengo Sekic97e6aa2020-01-10 01:11:15 +0900155 "framed:fastframed",
156 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500157 ],
158 "sockets": [
159 "ip",
160 "ip-ssl"
161 ],
162 "protocols": [
163 "binary",
164 "compact",
165 "json",
166 "multi",
167 "multic",
168 "multij"
169 ],
170 "workdir": "../lib/java"
171 },
172 {
173 "name": "nodejs",
174 "env": {
175 "NODE_PATH": "../lib"
Roger Meier41ad4342015-03-24 22:30:40 +0100176 },
Alex Volanis7004a612018-01-24 10:30:13 -0500177 "server": {
178 "command": [
179 "node",
180 "server.js",
181 "--type=tcp"
182 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100183 },
Alex Volanis7004a612018-01-24 10:30:13 -0500184 "client": {
185 "timeout": 6,
186 "command": [
187 "node",
188 "client.js",
189 "--type=tcp"
190 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100191 },
Alex Volanis7004a612018-01-24 10:30:13 -0500192 "transports": [
193 "buffered",
194 "framed",
195 "http"
196 ],
197 "sockets": [
198 "ip",
Daniel Shihe41de0f2018-03-21 08:28:38 +0800199 "ip-ssl",
200 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500201 ],
202 "protocols": [
203 "compact",
204 "binary",
David Maiddd22242019-02-22 03:37:49 -0800205 "json",
206 "header"
Alex Volanis7004a612018-01-24 10:30:13 -0500207 ],
208 "workdir": "../lib/nodejs/test"
209 },
210 {
211 "name": "hs",
212 "server": {
213 "command": [
214 "TestServer"
215 ]
216 },
217 "client": {
218 "timeout": 6,
219 "transports": [
220 "http"
221 ],
222 "command": [
223 "TestClient"
224 ]
225 },
226 "transports": [
227 "buffered",
228 "framed"
229 ],
230 "sockets": [
231 "ip"
232 ],
233 "protocols": [
234 "header",
235 "compact",
236 "binary",
237 "json"
238 ],
239 "workdir": "hs"
240 },
241 {
242 "name": "py",
243 "server": {
244 "extra_args": ["TSimpleServer"],
245 "command": [
246 "TestServer.py",
247 "--verbose",
248 "--genpydir=gen-py"
249 ]
250 },
251 "client": {
252 "timeout": 10,
253 "command": [
254 "TestClient.py",
255 "--verbose",
256 "--host=localhost",
257 "--genpydir=gen-py"
258 ]
259 },
260 "transports": [
261 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400262 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000263 "http",
264 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500265 ],
266 "sockets": [
267 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900268 "ip-ssl",
269 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500270 ],
271 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500272 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500273 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500274 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700275 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500276 "header",
277 "json",
278 "multi",
279 "multi:multia",
280 "multia",
281 "multiac",
282 "multic",
283 "multic:multiac",
284 "multih",
285 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500286 ],
287 "workdir": "py"
288 },
289 {
290 "comment": "Using 'python3' executable to test py2 and 3 at once",
291 "name": "py3",
292 "server": {
293 "extra_args": ["TSimpleServer"],
294 "command": [
295 "python3",
296 "TestServer.py",
297 "--verbose",
298 "--genpydir=gen-py"
299 ]
300 },
301 "client": {
302 "timeout": 10,
303 "command": [
304 "python3",
305 "TestClient.py",
306 "--host=localhost",
307 "--genpydir=gen-py"
308 ]
309 },
310 "transports": [
311 "buffered",
James E. King III6f8c99e2018-03-24 16:32:02 -0400312 "framed",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000313 "http",
314 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500315 ],
316 "sockets": [
James E. King III6f8c99e2018-03-24 16:32:02 -0400317 "ip",
Kengo Sekif1c53412019-12-13 08:09:36 +0900318 "ip-ssl",
319 "domain"
Alex Volanis7004a612018-01-24 10:30:13 -0500320 ],
321 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500322 "binary",
Alex Volanis7004a612018-01-24 10:30:13 -0500323 "binary:accel",
James E. King III9804ab92019-02-07 16:59:05 -0500324 "compact",
Neil Williams66a44c52018-08-13 16:12:24 -0700325 "compact:accelc",
James E. King III9804ab92019-02-07 16:59:05 -0500326 "header",
327 "json",
328 "multi",
329 "multi:multia",
330 "multia",
331 "multiac",
332 "multic",
333 "multic:multiac",
334 "multih",
335 "multij"
Alex Volanis7004a612018-01-24 10:30:13 -0500336 ],
337 "workdir": "py"
338 },
339 {
340 "name": "cpp",
341 "server": {
342 "command": [
343 "TestServer"
344 ],
345 "protocols": [
346 "binary:multi",
347 "compact:multic",
348 "header:multih",
349 "json:multij"
350 ]
351 },
352 "client": {
353 "timeout": 8,
354 "command": [
355 "TestClient"
356 ],
357 "protocols": [
358 "multi:binary",
359 "multic:compact",
360 "multih:header",
361 "multij:json"
362 ]
363 },
364 "transports": [
365 "buffered",
366 "http",
James E. King IIIb2b767e2018-09-15 20:32:04 +0000367 "framed",
368 "zlib"
Alex Volanis7004a612018-01-24 10:30:13 -0500369 ],
370 "sockets": [
371 "ip",
372 "ip-ssl",
373 "domain"
374 ],
375 "protocols": [
376 "compact",
377 "binary",
378 "json",
379 "header",
380 "multi",
381 "multic",
382 "multih",
383 "multij"
384 ],
385 "workdir": "cpp"
386 },
387 {
388 "name": "rb",
389 "server": {
390 "command": [
391 "ruby",
392 "../integration/TestServer.rb"
393 ]
394 },
395 "client": {
James E. King IIIef9405f2019-02-01 16:14:19 -0500396 "timeout": 10,
Alex Volanis7004a612018-01-24 10:30:13 -0500397 "command": [
398 "ruby",
James E. King III714c77c2018-03-20 19:58:38 -0400399 "../integration/TestClient.rb",
400 "--"
Alex Volanis7004a612018-01-24 10:30:13 -0500401 ]
402 },
403 "transports": [
404 "buffered",
405 "framed"
406 ],
407 "sockets": [
James E. King III9aaf2952018-03-20 15:06:08 -0400408 "domain",
James E. King III714c77c2018-03-20 19:58:38 -0400409 "ip",
410 "ip-ssl"
Alex Volanis7004a612018-01-24 10:30:13 -0500411 ],
412 "protocols": [
Alex Volanis7004a612018-01-24 10:30:13 -0500413 "binary",
James E. King III9aaf2952018-03-20 15:06:08 -0400414 "binary:accel",
415 "compact",
416 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500417 ],
418 "workdir": "rb/gen-rb"
419 },
420 {
421 "name": "csharp",
422 "env": {
423 "MONO_PATH": "../../lib/csharp/"
424 },
425 "transports": [
426 "buffered",
427 "framed"
428 ],
429 "sockets": [
430 "ip",
431 "ip-ssl"
432 ],
433 "protocols": [
434 "binary",
435 "compact",
436 "json"
437 ],
438 "server": {
439 "command": [
440 "mono",
441 "TestClientServer.exe",
442 "server"
443 ]
444 },
445 "client": {
446 "timeout": 9,
447 "command": [
448 "mono",
449 "TestClientServer.exe",
450 "client"
451 ],
452 "protocols": [
453 "multi",
454 "multic",
455 "multi:binary",
456 "multic:compact"
457 ]
458 },
459 "workdir": "csharp"
460 },
461 {
462 "name": "netcore",
463 "transports": [
464 "buffered",
465 "framed"
466 ],
467 "sockets": [
468 "ip",
469 "ip-ssl"
470 ],
471 "protocols": [
472 "binary",
473 "compact",
474 "json"
475 ],
James E. King III9bea32f2018-03-16 16:07:42 -0400476 "server": {
Alex Volanis7004a612018-01-24 10:30:13 -0500477 "command": [
478 "dotnet",
479 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400480 "--no-build",
481 "--project=Server/Server.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500482 "server"
483 ]
484 },
485 "client": {
486 "timeout": 10,
487 "command": [
488 "dotnet",
489 "run",
James E. King III9bea32f2018-03-16 16:07:42 -0400490 "--no-build",
491 "--project=Client/Client.csproj",
Alex Volanis7004a612018-01-24 10:30:13 -0500492 "client"
493 ]
494 },
Volodymyr Gotra54993292017-12-18 02:08:09 +0200495 "workdir": "netcore"
Alex Volanis7004a612018-01-24 10:30:13 -0500496 },
497 {
498 "name": "perl",
499 "transports": [
500 "buffered",
501 "framed"
502 ],
503 "sockets": [
504 "ip",
505 "ip-ssl",
506 "domain"
507 ],
508 "protocols": [
509 "binary",
510 "multi"
511 ],
512 "client": {
513 "command": [
514 "perl",
515 "-Igen-perl/",
516 "-I../../lib/perl/lib/",
517 "TestClient.pl",
518 "--ca=../keys/CA.pem",
519 "--cert=../keys/client.crt",
520 "--key=../keys/client.key"
521 ],
522 "protocols": [
523 "multi:binary"
524 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100525 },
Alex Volanis7004a612018-01-24 10:30:13 -0500526 "server": {
527 "command": [
528 "perl",
529 "-Igen-perl/",
530 "-I../../lib/perl/lib/",
531 "TestServer.pl",
532 "--cert=../keys/server.crt",
533 "--key=../keys/server.key"
534 ],
535 "protocols": [
536 "binary:multi"
537 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100538 },
Alex Volanis7004a612018-01-24 10:30:13 -0500539 "workdir": "perl"
540 },
541 {
542 "name": "php",
543 "client": {
544 "timeout": 6,
545 "transports": [
546 "buffered",
547 "framed"
548 ],
549 "sockets": [
550 "ip"
551 ],
552 "protocols": [
553 "binary",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500554 "binary:accel",
Alex Volanis7004a612018-01-24 10:30:13 -0500555 "compact",
James E. King IIIe53d23c2019-02-10 11:13:23 -0500556 "json"
Alex Volanis7004a612018-01-24 10:30:13 -0500557 ],
558 "command": [
559 "php",
560 "-dextension_dir=php_ext_dir",
561 "--php-ini=test_php.ini",
562 "--no-php-ini",
563 "-ddisplay_errors=stderr",
564 "-dlog_errors=0",
565 "-derror_reporting=E_ALL",
566 "TestClient.php"
567 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100568 },
Alex Volanis7004a612018-01-24 10:30:13 -0500569 "workdir": "php"
570 },
571 {
572 "name": "dart",
573 "client": {
James E. King IIIb1d63e72019-01-22 14:16:39 -0500574 "timeout": 30,
Alex Volanis7004a612018-01-24 10:30:13 -0500575 "transports": [
576 "buffered",
577 "framed",
578 "http"
579 ],
580 "sockets": [
581 "ip"
582 ],
583 "protocols": [
584 "binary",
585 "compact",
586 "json"
587 ],
588 "command": [
589 "dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400590 "--enable-asserts",
James E. King III98f379e2019-01-22 09:22:04 -0500591 "test_client/bin/main.dart",
James E. King III93ff9b02019-06-21 17:50:34 -0400592 "--verbose"
Alex Volanis7004a612018-01-24 10:30:13 -0500593 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100594 },
Alex Volanis7004a612018-01-24 10:30:13 -0500595 "workdir": "dart"
596 },
597 {
598 "name": "erl",
599 "transports": [
600 "buffered",
601 "framed"
602 ],
603 "sockets": [
604 "ip",
605 "ip-ssl"
606 ],
607 "protocols": [
608 "binary",
609 "compact"
610 ],
611 "client": {
612 "command": [
613 "erl",
614 "+K",
615 "true",
616 "-noshell",
617 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400618 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500619 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400620 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500621 "-s",
622 "test_client",
623 "-s",
624 "init",
625 "stop",
626 "-extra"
627 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900628 },
Alex Volanis7004a612018-01-24 10:30:13 -0500629 "server": {
630 "command": [
631 "erl",
632 "+K",
633 "true",
634 "-noshell",
635 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400636 "../../lib/erl/_build/default/lib/thrift/ebin/",
Alex Volanis7004a612018-01-24 10:30:13 -0500637 "-pa",
James E. King III93ff9b02019-06-21 17:50:34 -0400638 "./_build/default/lib/thrift_test/ebin",
Alex Volanis7004a612018-01-24 10:30:13 -0500639 "-s",
640 "test_thrift_server",
641 "-extra"
642 ]
Nobuaki Sukegawaa185d7e2015-11-06 21:24:24 +0900643 },
Alex Volanis7004a612018-01-24 10:30:13 -0500644 "workdir": "erl"
645 },
646 {
647 "name": "js",
648 "transports": [
649 "http"
650 ],
651 "sockets": [
652 "ip"
653 ],
654 "protocols": [
655 "json"
656 ],
657 "client": {
658 "command": [
659 "phantomjs",
660 "test/phantom-client.js"
661 ]
Roger Meier41ad4342015-03-24 22:30:40 +0100662 },
Alex Volanis7004a612018-01-24 10:30:13 -0500663 "workdir": "../lib/js"
664 },
665 {
666 "name": "lua",
667 "TODO": "Add dll to LUA_CPATH",
668 "env": {
669 "LUA_PATH": ";;gen-lua/?.lua;../../lib/lua/?.lua",
670 "LUA_CPATH": ";;../../lib/lua/.libs/?.so"
671 },
672 "client": {
673 "timeout": 5,
674 "transports": [
675 "buffered",
676 "framed",
677 "http"
678 ],
679 "sockets": [
680 "ip"
681 ],
682 "protocols": [
683 "binary",
684 "compact",
685 "json"
686 ],
687 "command": [
688 "lua",
689 "test_basic_client.lua"
690 ]
691 },
692 "workdir": "lua"
693 },
694 {
695 "name": "rs",
696 "env": {
697 "RUST_BACKTRACE": "1",
698 "RUST_LOG": "info"
699 },
700 "server": {
701 "command": [
702 "test_server"
703 ],
704 "protocols": [
705 "binary:multi",
706 "compact:multic"
707 ]
708 },
709 "client": {
710 "timeout": 6,
711 "command": [
712 "test_client"
713 ],
714 "protocols": [
715 "multi:binary",
716 "multic:compact"
717 ]
718 },
719 "sockets": [
720 "ip"
721 ],
722 "transports": [
723 "buffered",
724 "framed"
725 ],
726 "protocols": [
727 "binary",
728 "compact",
729 "multi",
730 "multic"
731 ],
732 "workdir": "rs/bin"
wilfrem2c69b5a2015-04-20 19:24:50 +0900733 },
734 {
735 "name": "nodets",
736 "env": {
737 "NODE_PATH": "../lib"
738 },
739 "server": {
740 "command": [
741 "runServer.sh"
742 ]
743 },
744 "client": {
Mustafa Senol Cosardd965c12018-11-30 20:02:00 +0300745 "timeout": 6,
wilfrem2c69b5a2015-04-20 19:24:50 +0900746 "command": [
747 "runClient.sh"
748 ]
749 },
750 "protocols": [
751 "binary"
752 ],
753 "sockets": [
754 "ip"
755 ],
756 "transports": [
757 "buffered"
758 ],
759 "workdir": "../lib/nodets/test"
Alex Volanis7004a612018-01-24 10:30:13 -0500760 }
761]